Closed knuckleheadsmiff closed 4 years ago
Nope, did not have that try catch in the code I submitted, sorry about that. can you add it?
Fixed and published in v2.8.2.
FYI, not that it matters since it is offline but the yahoo API has a similar bug (I used that as an initial template.)
Saw a crash today (sadly not detailed log info other then the line number that failed.) for the first time when trying to pass a JSON result. Causes a fatal error to HomeKit. Just need to add a try catch to make it handle itself better: Aroun line 45 should read something like:
So that if the JSON.parse fails the code can gracefully continue along. (I though the code I originally pushed had this but I got rid of my project and can't com[are. Regardless this should be added.
FYI: This was the log output: