You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Tibber servers returns text only, we have to improve the error handling and handle errors like this:
29 Mar 18:24:00 - [red] Uncaught Exception:
29 Mar 18:24:00 - [error] TypeError: Cannot create property 'httpCode' on string 'GraphQL queries must be strings.'
at IncomingMessage.<anonymous> (/config/node-red/node_modules/tibber-api/src/nodes/TibberQuery.ts:98:46)
at IncomingMessage.emit (node:events:532:35)
at endReadableNT (node:internal/streams/readable:1346:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
The text was updated successfully, but these errors were encountered:
When Tibber servers returns text only, we have to improve the error handling and handle errors like this:
The text was updated successfully, but these errors were encountered: