Skip to content

Commit

Permalink
https://github.com/baerengraben/ioBroker.swiss-weather-api/issues/32
Browse files Browse the repository at this point in the history
  • Loading branch information
baerengraben authored and baerengraben committed May 20, 2021
1 parent 8f637f1 commit 7603313
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1737,6 +1737,10 @@ function doIt(self) {
self.log.error(error)
});
});
req.on('error', function(err) {
// handle errors with the request itself
self.log.error("Fehler " + err.message);
});
req.end();
setTimeout(doIt, pollInterval, self);
}
Expand Down

0 comments on commit 7603313

Please sign in to comment.