Atatus captures all exceptions and errors in your Node.js applications by default. To capture console.error messages specifically, you need to enable the captureConsoleErrors setting.

Configuration Options

Sample Node.js Agent Configuration:

Environment Variable Configuration:

How to Enable captureConsoleErrors

Use one of the following methods to enable this setting: Option 1: Using atatus.js
Option 2: Using Environment Variables
This setting ensures that every console.error message is reported as an error, helping your team stay informed of issues in real time.