openaps / openaps-menu

3 stars 18 forks source link

Prevent Nightscout from crashing if {} returned #24

Closed jansche closed 5 years ago

jansche commented 5 years ago

Added one line to check content of $RESPONSE for emptyness (=~ {}) and unset $RESPONSE, so error correction through OR in next line applies.

cluckj commented 5 years ago

I think this is in the wrong spot? It should be below the line that checks read_voltage.