Changeset 2524 for package_branches/invirt-web/cherrypy
- Timestamp:
- Oct 29, 2009, 1:36:40 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy/code/main.py
r2523 r2524 103 103 err = sys.exc_info()[1] 104 104 if isinstance(err, InvalidInput): 105 e = revertStandardError()106 105 cherrypy.request.params['err'] = err 107 cherrypy.request.params['emsg'] = e106 cherrypy.request.params['emsg'] = revertStandardError() 108 107 raise cherrypy.InternalRedirect('/invalidInput') 109 108 if not cherrypy.request.prev or 'err' not in cherrypy.request.prev.params: 110 e = revertStandardError()111 109 cherrypy.request.params['err'] = err 112 cherrypy.request.params['emsg'] = e110 cherrypy.request.params['emsg'] = revertStandardError() 113 111 cherrypy.request.params['traceback'] = _cperror.format_exc() 114 112 raise cherrypy.InternalRedirect('/error')
Note: See TracChangeset
for help on using the changeset viewer.