I'm getting several errors about unhandled exceptions from day to day. At the moment, I can't see any other cause than a problem with Tibber's server response. It stabilizes after 15-60min.
It would be great if these exceptions could be handled in order to avoid flooding the log ;-)
tibberconnect.0 | 2023-07-16 08:21:00.687 | error | DB closed
-- | -- | -- | --
tibberconnect.0 | 2023-07-16 08:21:00.686 | error | Error: DB closed at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2983:17) at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:638:26) at Tibberconnect.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5886:35)
tibberconnect.0 | 2023-07-16 08:21:00.686 | error | unhandled promise rejection: DB closed
tibberconnect.0 | 2023-07-16 08:21:00.686 | error | Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
I'm getting several errors about unhandled exceptions from day to day. At the moment, I can't see any other cause than a problem with Tibber's server response. It stabilizes after 15-60min.
It would be great if these exceptions could be handled in order to avoid flooding the log ;-)
tibberconnect.0 | 2023-07-16 08:21:00.687 | error | DB closed -- | -- | -- | -- tibberconnect.0 | 2023-07-16 08:21:00.686 | error | Error: DB closed at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2983:17) at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:638:26) at Tibberconnect.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5886:35) tibberconnect.0 | 2023-07-16 08:21:00.686 | error | unhandled promise rejection: DB closed tibberconnect.0 | 2023-07-16 08:21:00.686 | error | Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().