1
0
Fork 0
mirror of https://github.com/omniauth/omniauth.git synced 2022-11-09 12:31:49 -05:00

Remove redundant to_s in interpolation

This commit is contained in:
Erik Michaels-Ober 2014-03-15 20:44:30 +01:00
parent eb9d0412ae
commit dd132de8e3

View file

@ -146,7 +146,7 @@ module OmniAuth
end
def inspect
"#<#{self.class.to_s}>"
"#<#{self.class}>"
end
# Direct access to the OmniAuth logger, automatically prefixed
@ -467,7 +467,7 @@ module OmniAuth
env['omniauth.error.strategy'] = self
if exception
log :error, "Authentication failure! #{message_key}: #{exception.class.to_s}, #{exception.message}"
log :error, "Authentication failure! #{message_key}: #{exception.class}, #{exception.message}"
else
log :error, "Authentication failure! #{message_key} encountered."
end