nikkow / node-red-contrib-tahoma

Node-RED module to control a Somfy Tahoma box (Roller shutters...). Used for home automation flows.
Apache License 2.0
19 stars 11 forks source link

Unhandled Promise Rejection Warning in tahoma.js #48

Open hmwelsch opened 3 years ago

hmwelsch commented 3 years ago

I get the following error message which seems to be a message for nikkow?

(node:32106) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'finished' of undefined at /home/pi/.node-red/node_modules/node-red-contrib-tahoma/dist/nodes/tahoma.js:105:42 at processTicksAndRejections (internal/process/task_queues.js:97:5) (node:32106) UnhandledPromiseRejectionWarning: 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 448) (node:32106) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Setup: