1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-08-02 17:35:17 +02:00

Removed additional weather logging

This commit is contained in:
Paweł Malak 2021-11-15 00:58:47 +01:00
parent 07cd725d4a
commit 51a0da8f10
3 changed files with 1 additions and 12 deletions

View file

@ -15,7 +15,7 @@ const weatherJob = schedule.scheduleJob(
try {
const weatherData = await getExternalWeather();
logger.log('Weather updated');
Sockets.getSocket('weather').socket.send(JSON.stringify(weatherData));
} catch (err) {
if (secret) {