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:
parent
eb9d0412ae
commit
dd132de8e3
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue