From the course: Angular: Building Large Applications
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Global error handling and app monitoring - Angular Tutorial
From the course: Angular: Building Large Applications
Global error handling and app monitoring
- [Instructor] Let's talk about global error handling and how monitoring tools like Sentry, Raygun, LogRocket and Rollbar can help you manage and monitor errors in your Angular applications. Global error handling refers to the practice of catching and managing errors across your entire application, where these kind of tools can help. Instead of handling errors locally in each component service, global error handling centralizes this process, allowing you to catch unexpected errors and handle them gracefully, whether that's displaying a user-friendly message, or logging errors for developers. In production environments, catching errors is essential, but it's equally important to monitor those errors so you can identify and resolve issues in real time. So this is why you need monitoring tools. It's to effectively handle errors in the production application. You need more than just a basic error handler. This is where tools like Sentry, LogRocket, Raygun, and Rollbar come into play…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.