Ticket Created
over 3 years ago

CIQQA-492

wf can't find property

sdk 4.0.3
eclipse plug in 4.0.4
eclipse Version: 2021-06 (4.20.0) Build id: 20210612-2011
windows 10
watch face
minSdkVersion 2.4.0

form era:

Error Name: Unhandled Exception
Devices:
    Venu® Sq: 2.70
Languages: dut

using Toybox.Application.Properties    as PRP;

//in line:

k = PRP.getValue(k);

but:

1. Properties should exist - sim/other devices read it

2. when I call for not existed property  k = PRP.getValue("k"); in IDE

Error: Unhandled Exception
Exception: Key does not exist in Application Properties

it would be useful to get name of exception in ERA

Parents
  • yes, you are right, it's safe to send to server minimum information because somebody can send something private

    so send only what is safe and you know what it is, the the kind of exception isn't dangerous 

    but

    1. disconnect watch from the Internet

    2. run app

    3. crash, the log is saved:
    Error Name: Unhandled Exception
    ....

    4. connect to watch to computer

    5. modify log and first line looks like:

    NEW DATA

    6. synchronise watch

    I don't want to make test but I think in era I'll see  NEW DATA

    So, if we assume, that system save something in log what is safe it can be transferred to server.

Comment
  • yes, you are right, it's safe to send to server minimum information because somebody can send something private

    so send only what is safe and you know what it is, the the kind of exception isn't dangerous 

    but

    1. disconnect watch from the Internet

    2. run app

    3. crash, the log is saved:
    Error Name: Unhandled Exception
    ....

    4. connect to watch to computer

    5. modify log and first line looks like:

    NEW DATA

    6. synchronise watch

    I don't want to make test but I think in era I'll see  NEW DATA

    So, if we assume, that system save something in log what is safe it can be transferred to server.

Children
No Data