Update main.js

This commit is contained in:
2018-09-25 10:24:46 +08:00
parent ef734419de
commit 6ba151e30a
+2
View File
@@ -126,6 +126,7 @@ function sendNotification(message, callback) {
adapter.log.info('Send pushover notification: ' + JSON.stringify(message)); adapter.log.info('Send pushover notification: ' + JSON.stringify(message));
/*
pushover.send(message, (err, result) => { pushover.send(message, (err, result) => {
if (err) { if (err) {
adapter.log.error('Cannot send notification: ' + JSON.stringify(err)); adapter.log.error('Cannot send notification: ' + JSON.stringify(err));
@@ -136,4 +137,5 @@ function sendNotification(message, callback) {
return true; return true;
} }
}); });
*/
} }