-
Notifications
You must be signed in to change notification settings - Fork 11
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
Thrown errors crashes Node-RED #23
Comments
I am actually not sure. How would be a normal way of handling this in other node-red setups? Would it be a specific message out or? |
Hi Mathias, |
Hi all, regardless of error source (your node / alasql) you should try at all costs to prevent crashing node-red The recommended method for contrib nodes in node-red is...
NOTE: for promises, use the .catch mechanism to feed errors forward again using This permits the node-red Not handling errors in your node can crash node-red - not good. NOTE: if you wish, you can still send a message (and include the error) but many flow developers will see a message & may not check for a |
@Steve-Mcl Good point - and thank you for reminding me. |
There is no option to handle errors like path to file not exists or bad file format, am I right?
The text was updated successfully, but these errors were encountered: