Improve error messages, closes #574

This commit is contained in:
José Valim
2010-11-05 10:08:38 -02:00
parent 2aeaf4b109
commit 4210499f7f

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