Loading…

October 10 -12 - Vancouver, BC
Click for Node+JS Interactive Information & Registration

View analytic
Thursday, October 11 • 12:00pm - 12:30pm
Node.js Error Handling Done Right - Ruben Bridgewater, NearForm

Sign up or log in to save this to your schedule and see who's attending!

Feedback form is now closed.
It’s weekend and you are out at a lake with your family. You get a call from your boss that the application is down and the customers complain all over. You hurry home to fix the issue right away but you can’t find it and decide to revert to the last working state. Later you spend half your sprint searching and fixing the problem.

We all have run into issues like this before and our logs did not provide enough information to figure out what the problem is about. You saw a lot of errors but some had no stack trace and if they did, they were often useless because of the asynchronous JS nature hiding the actual call site.

But why all this pain when our life could be peaceful by using best practices in error handling? This is a journey into the asynchronous debugging horrors and the simplicity that async / await in combination with error classes can bring into that world.

Thursday October 11, 2018 12:00pm - 12:30pm
West Level 1 Ballroom Foyer (Community Corner)