1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-02-07 11:36:25 +02:00

Fix default Sentry release

This commit is contained in:
DarthSim 2021-11-23 15:11:39 +06:00
parent 1d3706d56c
commit 270ebbbd90
2 changed files with 2 additions and 2 deletions

View File

@ -258,7 +258,7 @@ func Reset() {
SentryDSN = ""
SentryEnvironment = "production"
SentryRelease = fmt.Sprintf("imgproxy/%s", version.Version())
SentryRelease = fmt.Sprintf("imgproxy@%s", version.Version())
AirbrakeProjecID = 0
AirbrakeProjecKey = ""

View File

@ -351,7 +351,7 @@ imgproxy can report occurred errors to Bugsnag, Honeybadger and Sentry:
* `IMGPROXY_HONEYBADGER_ENV`: Honeybadger env to report to. Default: `production`;
* `IMGPROXY_SENTRY_DSN`: Sentry project DSN. When provided, enables error reporting to Sentry;
* `IMGPROXY_SENTRY_ENVIRONMENT`: Sentry environment to report to. Default: `production`;
* `IMGPROXY_SENTRY_RELEASE`: Sentry release to report to. Default: `imgproxy/{imgproxy version}`;
* `IMGPROXY_SENTRY_RELEASE`: Sentry release to report to. Default: `imgproxy@{imgproxy version}`;
* `IMGPROXY_AIRBRAKE_PROJECT_ID`: Airbrake project id;
* `IMGPROXY_AIRBRAKE_PROJECT_KEY`: Airbrake project key;
* `IMGPROXY_AIRBRAKE_ENVIRONMENT`: Airbrake environment to report to. Default: `production`;