Highlight ships @highlight-run/node which can be installed alongside highlight.run for capturing backend errors in applications with Express backends.
The usage of this Backend SDK requires one of our s to be installed, so please follow the instructions there if you have not done so.
First, import the package
Pass configurations into the errorHandler and Highlight is ready to go!
To validate your Highlight backend setup, you'll need to setup up a testing route handler that throws an error. See the block above for an example. Add some code to your frontend to make an HTTP request to /error. You should be able to view your frontend session making the request and find the error traceback in the errors page.
To view and resolve the recorded error, log into app.highlight.run and open your project. Clicking on the error's title will open a page where you can see detailed information and mark it as resolved.