petre2dor / piGarden

Irrigation system powered by raspberry pi. work in progress...
GNU General Public License v3.0
7 stars 0 forks source link

try-catch JSON.parse(body) in util.js #13

Closed petre2dor closed 7 years ago

petre2dor commented 8 years ago

the hole app crashes if the returned response from request.get is not a valid JSON