Upload source maps to an existing release either manually through the user interface or automatically using the Sentry CLI tool, which is compatible with Telebugs.
.map
files. Multiple files can be uploaded simultaneously.
tlbgs_
.
Before running the commands, set the following environment variables:
export SENTRY_URL=<your-telebugs-url> export SENTRY_AUTH_TOKEN=tlbgs_<your-api-key> export SENTRY_PROJECT=<your-project-id> export SENTRY_ORG=<any-value> # This is not used but required for compatibility
Execute the following commands:
sentry-cli sourcemaps upload --release=<version> ./path/to/maps
For builds requiring injection of source map references:
sentry-cli sourcemaps inject ./build sentry-cli sourcemaps upload --release=<version> ./build
Upon upload, Telebugs applies the maps to incoming error reports, resolving minified traces without further configuration. To verify, trigger a test error and review the resolved stack trace in the report.