homebridge-syntex-webhooks
Advanced tools
Comparing version 1.0.5-b4 to 1.0.5-b5
10
index.js
@@ -133,3 +133,4 @@ var request = require('request'); | ||
} | ||
else if(!err) | ||
if(err) | ||
{ | ||
@@ -196,4 +197,9 @@ log('\x1b[33m%s\x1b[0m', "[INFO]", "Storage.json wurde ohne Inhalt geladen!"); | ||
if(err) | ||
if(!obj) | ||
{ | ||
if(!err) | ||
{ | ||
log('\x1b[31m%s\x1b[0m', "[ERROR 0]", "Storage.json konnte nicht geladen werden!"); | ||
} | ||
log('\x1b[31m%s\x1b[0m', "[ERROR 2]", "Storage.json konnte nicht geladen werden!"); | ||
@@ -200,0 +206,0 @@ } |
{ | ||
"name": "homebridge-syntex-webhooks", | ||
"version": "1.0.5-b4", | ||
"version": "1.0.5-b5", | ||
"description": "A webhook plugin for HTTP devices", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
30992
553