hapi — Don’t Report Errors to Sentry in Development Mode

As a developer you definitely know that each tool has its sunshine and also brings shadow. Well, that’s kind of poetic and precisely this guide shows you how to benefit a lot more from the sunshine that Sentry —the error logging platform— brings to your project.

Within a previous tutorial, you’ve learned how to report errors in your hapi app to Sentry and the downside of that: every error will be tracked, in production as well as development and testing. That means you’re losing track of the actual issues that cause pain to your users.

Let’s configure your app so that only your production errors get actually reported to Sentry for further investigation. Before moving on to the details, have a look at the other tutorials within this hapi series.

hapi Series Overview


Continue reading

University Enrollment Required

Future Students benefit from value packed videos and tutorials.

Enroll to receive exclusive content or sign in if you’re already a Future Student.

Enroll me for $15/mo

Explore the Library

Find interesting tutorials and solutions for your problems.