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.jsconsole.error message is reported as an error, helping your team stay informed of issues in real time.