﻿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
18003	All naked excepts which raise an exception should include previous exception stack	Glenn Washburn <devlopment@…>	Jake Rothenbuhler	"I propose that there should be a strict policy for any new code being committed and all old code as it is found to be offending that any where there is a naked except, that is an except block that catches all exceptions, and an exception is raised within this block, that the previous exceptions exception call stack be preserved in the new raised exception.

For example, in contrib/admin/views/main.py on line 319 there is a naked except and the caught exception object is wrapped by another exception class and then re-raised. This loses the call stack of the originating exception, thus making it potentially very difficult to debug the original exception.

This issue should fix the above and start a policy discussion."	Cleanup/optimization	closed	Core (Other)	1.4	Normal	fixed		ognajd@… hv@…	Accepted	1	0	0	0	1	0
