Node

Node error logging with Rollbar

Instantly know when Node errors occur and how to fix them

Get exception & crash reports in real-time.
Track & debug bugs in record time.

Real-time error reporting

Get notified of Node.js errors instantly as they occur after deployment - and before users notice.

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.

Real-time error reporting

Error details & metadata

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.

Error details & metadata

Telemetry for faster debugging

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.

Telemetry for faster debugging

Works with your stack

Rollbar supports all popular languages and frameworks.

reactvueangular
javascriptiosandroid

Fits into your workflow

Integrations with tools you're already using.

slackjiragithub
bitbucketjenkinspagerduty

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.

Rob ZuberCTO
Rob Zuber

Quick setup with our lightweight & open source SDK

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.

Start monitoring errors now

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...