diff --git a/lib/stripe/stripe_configuration.rb b/lib/stripe/stripe_configuration.rb index 1fd94df05..2b670b82a 100644 --- a/lib/stripe/stripe_configuration.rb +++ b/lib/stripe/stripe_configuration.rb @@ -86,6 +86,8 @@ def log_level=(val) val = Stripe::LEVEL_DEBUG elsif val == "info" val = Stripe::LEVEL_INFO + elsif val == "error" + val = Stripe::LEVEL_ERROR end levels = [Stripe::LEVEL_INFO, Stripe::LEVEL_DEBUG, Stripe::LEVEL_ERROR]