Skip to content

Commit cbe2e42

Browse files
authored
1 parent 685b1bf commit cbe2e42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node_helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ module.exports = NodeHelper.create({
6060
self.sendSocketNotification("OPENWEATHER_ONE_CALL_FORECAST_DATA", resp);
6161

6262
} else {
63-
console.log("[MMM-OpenWeatherMapForecast] " + moment().format("D-MMM-YY HH:mm") + " ** ERROR ** " + error);
63+
console.log("[MMM-OpenWeatherMapForecast] " + moment().format("D-MMM-YY HH:mm") + " ** ERROR ** " + response.statusCode);
6464
}
6565

6666
});

0 commit comments

Comments
 (0)