diff options
Diffstat (limited to 'internal/rubyserver')
-rw-r--r-- | internal/rubyserver/rubyserver.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/rubyserver/rubyserver.go b/internal/rubyserver/rubyserver.go index 615444287..3b75b665e 100644 --- a/internal/rubyserver/rubyserver.go +++ b/internal/rubyserver/rubyserver.go @@ -120,6 +120,10 @@ func Start() (*Server, error) { env = append(env, "SENTRY_DSN="+dsn) } + if sentryEnvironment := cfg.Logging.SentryEnvironment; sentryEnvironment != "" { + env = append(env, "SENTRY_ENVIRONMENT="+sentryEnvironment) + } + gitalyRuby := path.Join(cfg.Ruby.Dir, "bin/gitaly-ruby") numWorkers := cfg.Ruby.NumWorkers |