Added the original exception message to session recall errors (so you can see which class wasnt required)

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@828 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson
2005-03-03 23:05:16 +00:00
parent e4106a580e
commit 3b2e356cd2
2 changed files with 3 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
*SVN*
* Added the original exception message to session recall errors (so you can see which class wasnt required)
* Fixed that RAILS_ROOT might not be defined when AP was loaded, so do a late initialization of the ROUTE_FILE #761 [Scott Barron]
* Fix request.path_info and clear up LoadingModule behavior #754 [Nicholas Seckar]

View File

@@ -86,7 +86,7 @@ module ActionController #:nodoc:
ActionController::SessionRestoreError,
"Session contained objects where the class definition wasn't available. " +
"Remember to require classes for all objects kept in the session. " +
"The session has been deleted."
"The session has been deleted. (Original exception: #{e.message} [#{e.class}])"
)
end
end