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

Improve error messages, closes #574

This commit is contained in:
José Valim 2010-11-05 10:08:38 -02:00
parent ad8d2d7d99
commit 1f44c61d08

View file

@ -31,7 +31,7 @@ class Warden::SessionSerializer
record if record && record.authenticatable_salt == salt
rescue NameError => e
if e.message =~ /uninitialized constant/
Rails.logger.debug "Trying to deserialize invalid class #{klass}"
Rails.logger.debug "[Devise] Trying to deserialize invalid class #{klass}"
nil
else
raise