Browse Source

Fix default Sentry release

DarthSim 3 years ago
parent
commit
270ebbbd90
2 changed files with 2 additions and 2 deletions
  1. 1 1
      config/config.go
  2. 1 1
      docs/configuration.md

+ 1 - 1
config/config.go

@@ -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 = ""

+ 1 - 1
docs/configuration.md

@@ -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`;