Skip to content

Commit

Permalink
Make the settings nilable
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCTHsu committed Dec 12, 2023
1 parent f7e63bb commit 863c9ec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/datadog/tracing/contrib/mysql2/configuration/settings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ class Settings < Contrib::Configuration::Settings
end

option :on_error do |o|
o.type :proc
o.default_proc(&Tracing::SpanOperation::Events::DEFAULT_ON_ERROR)
o.type :proc, nilable: true
end
end
end
Expand Down

0 comments on commit 863c9ec

Please sign in to comment.