mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-17 13:17:39 +00:00
Merge pull request #3888 from keymanapp/fix/web/sentry-environment
fix(common/core/web): Add environment to web Sentry reports
This commit is contained in:
commit
ff3aa8501a
2 changed files with 4 additions and 2 deletions
|
|
@ -149,7 +149,8 @@ namespace com.keyman {
|
|||
beforeSend: this.prepareEventDebugWrapper.bind(this),
|
||||
debug: DEBUG,
|
||||
dsn: 'https://cf96f32d107c4286ab2fd82af49c4d3b@sentry.keyman.com/11', // keyman-web DSN
|
||||
release: com.keyman.environment.SENTRY_RELEASE
|
||||
release: com.keyman.environment.SENTRY_RELEASE,
|
||||
environment: com.keyman.environment.ENVIRONMENT
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ echo "//Autogenerated file - do not modify!
|
|||
namespace com.keyman.environment {
|
||||
export var VERSION = \"$VERSION_RELEASE\";
|
||||
export var BUILD = $VERSION_PATCH;
|
||||
export var ENVIRONMENT = \"$VERSION_ENVIRONMENT\";
|
||||
export var SENTRY_RELEASE = \"release-$VERSION_WITH_TAG\";
|
||||
}
|
||||
" >> $ENVIRONMENT_TS
|
||||
" >> $ENVIRONMENT_TS
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue