Instantly know when Node errors occur and how to fix them
Node.js errors are tracked by Rollbar instantly as they occur. Get notified of errors and how to fix them throughout the software development process.
Similar errors are automatically grouped using Rollbar's fingerprinting technology to reduce noise, and all errors include detailed data to help you assess impact and assign priority.
Rollbar automatically collects all the data you need to replicate and debug an error, presented in ways optimized for debugging speed.
Works with JavaScript source maps.
Get stack traces, request parameters, local variables, affected users and IP addresses, browsers and OSes, deployed code versions, and more.
With Telemetry, you can debug client-side JavaScript errors faster. It works like a black box recorder, but for errors.
Get a timeline of browser events leading up to the error, including page loads, user actions, network activity, console logs, and more.
Rollbar supports all popular languages and frameworks:
There are so many emotional pains developers and operators have from all kinds of hideous errors they have shipped. What if you could make that go away? That’s what Rollbar does.
Node.js
The recommended way to use the rollbar constructor is to pass an object which represents the configuration options with at least the one required key accessToken
with the value equal to your POST_SERVER_ITEM_ACCESS_TOKEN
.
If you do not want to pass any configuration options, then for convenience, you can simply pass just the access token as a string as the only argument to the constructor.
14-day unlimited errors free trial. 5,000 errors/month free forever.
In addition to catching top-level errors, you can send caught errors or custom log messages. All of the following methods are fully-asynchronous and safe to call anywhere in your code after the script
tag.
If you minify your JavaScript in production, you'll want to configure source maps so you get meaningful stack traces. See the source maps guide for instructions...