windkh / node-red-contrib-telegrambot

Telegram bot nodes for node-red.
Other
262 stars 116 forks source link

node red crashes #207

Closed RogierQ closed 3 years ago

RogierQ commented 3 years ago

No idea what or when but i get a crash and a restart The error log shows this:

26 Aug 10:45:14 - TypeError: Cannot convert undefined or null to object at Timeout._onTimeout (/home/qusax/.node-red/node_modules/node-red-contrib-telegrambot/telegrambot/99-telegrambot.js:273:57) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7) nodered.service: Main process exited, code=exited, status=1/FAILURE nodered.service: Failed with result 'exit-code'.

What could this be??

windkh commented 3 years ago

Hm what version do you use?

windkh commented 3 years ago

Can you reproduce it?

RogierQ commented 3 years ago

nr 2.0.5 tg 10.0.6

no problem to reproduce, happends every time on a full deploy ( and a trigger after 1 sec on start 0

windkh commented 3 years ago

I can not reproduce it, can you post a flow here?

RogierQ commented 3 years ago

Flow is complicated and with databases. Can i test something for you?

windkh commented 3 years ago

version 10.0.7 contains some changes that could fix it. Sorry but I did it blindly... if the bug still occurs then reopen the issue. Please report if it worked....

RogierQ commented 3 years ago

Solved! Thanks like always!!!