linterra team mailing list archive
-
linterra team
-
Mailing list archive
-
Message #00162
[Bug 301089] [NEW] Controller::methodError() variable 'exception' misnamed
Public bug reported:
# All derived classes should implement this function to handle this error.
def methodError(method, e)
# Get the VHost and run its page error handler
vhost = @env['vhost']
vhost.handlePageError(@req, exception, filename) <---
end
The variable 'exception' should be just 'e'. Causes runtime error.
** Affects: rsp
Importance: Undecided
Status: New
--
Controller::methodError() variable 'exception' misnamed
https://bugs.launchpad.net/bugs/301089
You received this bug notification because you are a member of Linterra,
which is the registrant for RSP.
Status in Linterra RSP Web Framework: New
Bug description:
# All derived classes should implement this function to handle this error.
def methodError(method, e)
# Get the VHost and run its page error handler
vhost = @env['vhost']
vhost.handlePageError(@req, exception, filename) <---
end
The variable 'exception' should be just 'e'. Causes runtime error.
Follow ups
References