Operations | Monitoring | ITSM | DevOps | Cloud

Sentry

Guide to Error & Exception Handling in React

No app is perfect. Even if we try our best to test all possible cases, sometimes things will go wrong. It only takes one failing request to get you in trouble. It’s how we handle it that makes the difference between an application crash and a graceful fail. In this article, we’ll cover the basics of error and exception handling in React apps. We’ll also explore different kinds of errors and best practices for recovering from them in a user-friendly way.

Downtime happens, fix it faster - Uptime monitoring now in open beta

That moment when everything’s running smoothly—users engaged, conversions flowing—until your site takes a break, and you find out from a tweet. We’ve all been there, scrambling to fix an issue that’s been broken for who knows how long while social media lights up. A few minutes of downtime, and now you’re not just fixing the issue—you’re dealing with frustrated users and a reputation hit.

Atomic Repositories in Clean Architecture and TypeScript

You’re checking out on an e-commerce site. You have a cart with several items and quantities, and you click the checkout button. Under the hood, the operation flow might look like this: But alas, if you’ve designed your e-commerce site like this, you have likely created an atomicity problem. Atomicity in the Repository Pattern occurs when multiple repositories execute their queries in one transaction. If one query fails, all of them fail and must be rolled back.

Debugging a Slack Integration with Sentry's Trace View

While building Sentry, we also use Sentry to identify bugs, performance slowdowns, and issues that worsen our users’ experience. With our focus on keeping developers in their flow as much as possible, that often means identifying, fixing, and improving our integrations with other critical developer tools. Recently, one of our customers reported an issue with our Slack integration that I was able to debug and resolve with the help of our Trace View.

Observability and Tracing: How to Improve Your Debugging Workflow

Having the right tools to support debugging is crucial for improving application performance and delivering an enhanced user experience. Traditional observability tools provide insights into application health and with a shift towards actionability, they also directly aid in the debuggability of your system, helping you pinpoint the root cause of issues in real-time.

[Workshop] Fix Your Front-End: JavaScript Edition

Hear from the team behind our JavaScript SDKs as they share practical tips to make debugging more tolerable. In this session we covered: Setting up and configuring Sentry for frontend projects How to trace frontend errors back to backend issues Analyzing web vitals to identify performance bottlenecks Using session replay for better user insights.

Faster APIs, Better Experiences: Debugging Next.js to slash API Load Times with Dan Mindru

From sluggish API calls to elusive bugs, debugging your Next.js application doesn’t have to mean hours of staring at logs and deciphering dashboards. Join Dan Mindru, co-host of the Morning Maker show, as he shows you how to debug errors and performance issues using Sentry’s Tracing and Session Replay. We’ll start by diving into API performance optimization, where you’ll learn to identify and fix bottlenecks efficiently. Next, see a live demo of how Dan uses tracing and session replay to capture and replay user sessions to fix issues across their stack.

[Live workshop] Fix Your Frontend: JavaScript Edition

Join the team behind our JavaScript SDKs for a live session as they share practical tips to make debugging more tolerable. We’ll walk through everything from setting up and configuring Sentry to trace errors and identifying slow code. Whether you’re new to Sentry or a long-time user, there will be something for you. This session will cover: Setting up and configuring Sentry for frontend projects How to trace frontend errors back to backend issues Analyzing web vitals to identify performance bottlenecks Using session replay for better user insights.