mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
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:
@@ -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]
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user