﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
1551	Base handler error handling gets confused when the request is bad	ned@…	Adrian Holovaty	"I don't know exactly what circumstances cause this, but the exception handling in base.py can lose track of the important exception to display in the error email.  If an exception is thrown from repr(request) at about line 114, then it is that exception which is displayed rather than the original one that invoked the exception handling in the first place.

The solution is to get a copy of the first exception before beginning the handling, so it can be explicitly passed to _get_traceback.
"	defect	closed	Core (Other)	0.91	normal	fixed			Unreviewed	0	0	0	0	0	0
