WatchMeCode

Node.js and JavaScript Screencasts for Back-End Developers

  • Catalog
  • Log In

Search WatchMeCode’s Complete Catalog

May 15, 2016 |

Q&A: Custom Errors w/ Clean Stack Traces in Node.js

Some recent discussion in the WatchMeCode slack spawned a bit of research into creating custom errors through factory methods, while keeping the stack trace for those errors clean, in Node.js After a bit of digging, I found a good solution using Node’s Error.captureStackTrace method, and recorded a quick screencast to highlight it’s use.

Filed Under: Debugging, Error Handling, Functions, JavaScript, NodeJS, Q&A

February 11, 2016 |

Analytics Service Cleanup – Error Reporting

In the previous episode, the Keen.io code for the analytics service was moved into a separate process using RabbitMQ. Toward the end of the episode, however, there were a number of issues that we ran into – most notably was an error in syntax not being reported correctly. In this episode, you’ll see the root […]

Filed Under: Analytics, Architecture, Background Processing, Cleanup, Debugging, Episodes, Error Handling, JavaScript, JSHint, Keen.io, NodeJS, Organization, Raygun

December 3, 2015 |

Deploying Express – Production Error Tracking

Working with errors and stack traces in your development environment is fairly simple. You probably have a console window open and are looking at the errors as they happen. You read the stack trace, look at the code that failed and fix the bug, because you’re working with the application right now. But what happens […]

Filed Under: Debugging, Episodes, Error Handling, Express, JavaScript, NodeJS, Production, Raygun, Web Server

May 20, 2015 |

Design For Failure w/ Aria Stewart

In this interview, Derick talks to Aria Stewart, a software developer formerly at PayPal on the Kraken.js team. They delve into her talk, “Design for Retry: Microservices, REST, message busses and why idempotency is the only way to scale,” that she gave at Nodevember 2015 to discuss message queuing with services like RabbitMQ and Gearman.

Filed Under: Architecture, Background Processing, Error Handling, Interviews, JavaScript, Messaging, NodeJS, Production, Queue, RabbitMQ

April 16, 2015 | Episode length: 10:35

Handling Application Crashes w/ RabbitMQ

Now that you have your application split out in to services, communicating through RabbitMQ, you need to know how to handle errors in the back-end code. What happens when the code throws an error and the processes crashes? How do you recover from that? With RabbitMQ, this is easier than you might think. And by […]

Filed Under: Background Processing, Episodes, Error Handling, JavaScript, Messaging, NodeJS, RabbitMQ

January 8, 2015 | Episode length: 12:49

Express Error Handling

Error handling is an important part of any application. You don’t always want the application to just crash. Sometimes you want to be a little more graceful than that. This is true of any app – web or otherwise – including Express apps. Fortunately, Express provides a rather unique and very powerful way of handling […]

Filed Under: Episodes, Error Handling, Express, JavaScript, NodeJS, Routes

WMC Site Navigation

Content License

Derick Bailey Around The Web

Copyright © 2016 Muted Solutions, LLC. All Rights Reserved · Log in