We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 224a60d commit 4c2e0daCopy full SHA for 4c2e0da
lib/travis/api/app.rb
@@ -114,7 +114,7 @@ def initialize(options = {})
114
use Rack::Config do |env|
115
if env['HTTP_X_REQUEST_ID']
116
Sentry.with_scope do |scope|
117
- scope.set_tags(request_id: env['HTTP_X_REQUEST_ID'])
+ scope.set_tags(request_id: env['HTTP_X_REQUEST_ID']) unless enterprise?
118
end
119
120
@@ -194,6 +194,10 @@ def call(env)
194
195
private
196
197
+ def enterprise?
198
+ !!Travis.config.enterprise
199
+ end
200
+
201
def self.console?
202
defined? Travis::Console
203
0 commit comments