Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sentry-ruby/lib/sentry/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ def include_local_variables=(value)
SERVER_PORT
].freeze

TRACE_IGNORE_STATUS_CODES_DEFAULT = [(301..303), (305..399), (401..404)]
TRACE_IGNORE_STATUS_CODES_DEFAULT = [301, (305..399), (401..404)]

HEROKU_DYNO_METADATA_MESSAGE = "You are running on Heroku but haven't enabled Dyno Metadata. For Sentry's "\
"release detection to work correctly, please run `heroku labs:enable runtime-dyno-metadata`"
Expand Down
2 changes: 1 addition & 1 deletion sentry-ruby/spec/sentry/configuration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ class SentryConfigurationSample < Sentry::Configuration

describe "#trace_ignore_status_codes" do
it "has default values" do
expect(subject.trace_ignore_status_codes).to eq([(301..303), (305..399), (401..404)])
expect(subject.trace_ignore_status_codes).to eq([301, (305..399), (401..404)])
end

it "can be configured with individual status codes" do
Expand Down
Loading