API Reference
Error Monitoring
Getting Started
Welcome to Highlight
Integrations
Product Features
Session Replay
Tips
Menu

Versioning Errors

When using Highlight, it can be useful to know which app version an error is introduced. Highlight helps you by letting you tag which app version an error was thrown in.

To tag your errors with a version, you can set the version field in the H.init().

import App from './App' import { H } from 'highlight.run' H.init('<YOUR_ORGANIZATION_ID>', { version: process.env.REACT_APP_VERSION, }) ReactDOM.render(<App />, document.getElementById('root'))
Copy
Versioning Sessions

version is used for sessions too, see Versioning Sessions for more information.