Error handling and logging in Node-Red
Csongor Varga
Recently I was helping to set up a Node-Red automation for someone and since it was a remote Node-Red system, I did not have easy access to check logs all the time. And I set up error logging. This is what I cover in this video, and the general concepts of how errors occur and how errors can be handled using a custom flow.
My example flow: https://github.com/nygma2004/km/blob/main/error_handling.json
If you like what I do here, you can support me with Youtube Thanks, or Patreon: https://patreon.com/csongorvarga TikTok channel most on trains, big and small: https://www.tiktok.com/@frontendfriday And same in Instagram: https://www.instagram.com/hamptongardenrailway/
Chapters: 0:00 Intro 0:56 Content 2:24 Summary & Demo 5:37 Checking errors 7:08 How errors occur 13:10 node.warn and node.error 15:30 Aggregate error log 18:15 All error log 20:09 Implement for yourself 21:32 Email errors 29:46 Outro ... https://www.youtube.com/watch?v=LXNSBvODz90
151415535 Bytes