Skip to content

Commit

Permalink
eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
klein0r committed Aug 12, 2024
1 parent 6aff979 commit 05789d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class Pvforecast extends utils.Adapter {
try {
this.timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;
this.log.info(`Starting internal update cron (every 15 Minutes) for timezone: ${this.timeZone}`);
} catch (err) {
} catch {
this.log.warn(`Unable to get system timezone - fallback to Europe/Berlin`);
}

Expand Down Expand Up @@ -1906,7 +1906,7 @@ class Pvforecast extends utils.Adapter {
}

callback();
} catch (e) {
} catch {
callback();
}
}
Expand Down

0 comments on commit 05789d5

Please sign in to comment.