Changeset 2705 for package_branches/invirt-web/cherrypy-rebased/code
- Timestamp:
- Dec 20, 2009, 9:46:37 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy-rebased/code/main.py
r2704 r2705 98 98 err = sys.exc_info()[1] 99 99 if isinstance(err, InvalidInput): 100 e = revertStandardError()101 100 cherrypy.request.params['err'] = err 102 cherrypy.request.params['emsg'] = e101 cherrypy.request.params['emsg'] = revertStandardError() 103 102 raise cherrypy.InternalRedirect('/invalidInput') 104 103 if not cherrypy.request.prev or 'err' not in cherrypy.request.prev.params: 105 e = revertStandardError()106 104 cherrypy.request.params['err'] = err 107 cherrypy.request.params['emsg'] = e105 cherrypy.request.params['emsg'] = revertStandardError() 108 106 cherrypy.request.params['traceback'] = _cperror.format_exc() 109 107 raise cherrypy.InternalRedirect('/error')
Note: See TracChangeset
for help on using the changeset viewer.