Content Deep Dive
Log Angular 2 Errors with Sentry
Blog post from Sentry
Post Details
Company
Date Published
Author
Ben Vinegar
Word Count
274
Company Posts That Month
Language
English
Hacker News Points
-
Source URL
Summary
Angular 2 is now supported by Sentry for error tracking through their browser JavaScript SDK, including full support for use with TypeScript. The process involves installing the sentry/raven-js package and configuring SystemJS to locate it. A custom ErrorHandler is declared and initiated in the NgModule to capture exceptions and send them to Sentry. Additionally, the Raven.js project now provides a TypeScript language declaration file for static analysis and supports Source Maps, allowing developers to see their original code in error stack traces.
Trends Found in this Post
No tracked trend matches for this post yet.