-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnhandledPromiseRejectionWarning #42
Comments
Same here. |
As an emergency measure, I edited line 92 in /home/pi/.node-red/node_modules/node-red-contrib-dwd-local-weather/dwdweather.js, like: |
|
The certificate on https://opendata.dwd.de/ is now replaced and the SSL issue is gone. NodeRed is able to get the values. |
But it should be catched and not cause a system to crash... |
Ok, I have re-opened the issue. Let's see if it could be fixed. |
In doubt some ugly try catch block should do it. This is the uncatched error: May 8 16:14:49 friday Node-RED[4198]: 8 May 16:14:49 - [red] Uncaught Exception: Edit: |
Thanks for the error report, detailed analysis and suggested fix. I agree that the error handling needs to be more robust here and will fix this in the next version. |
Hi,
I'm using node-red-contrib-dwd-local-weather 1.0.2 in Docker and I see some errors showing up:
Should I be worried?
Best Regards,
Carsten
The text was updated successfully, but these errors were encountered: