Node.js Error Monitoring
This backend SDK requires one of the Highlight frontend SDKs to be installed, so please make sure you've followed the fullstack mapping guide first.
Install @highlight-run/node with your package manager.
Initialize the Highlight JS SDK with your project ID.
If you need to report exceptions outside of a handler, use the Highlight SDK.
You'll want to throw an exception in one of your Node.js handlers. Access the API handler and make sure the error shows up in Highlight.
With the JS SDKs, your logs are reported automatically from console methods. See the JS logging setup guide for more details.