﻿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
29642	Add check for signatures of custom error views	Adam Johnson	Adam Johnson	"In https://github.com/django/django/pull/10249 I fixed the documentation for the change in #24733 to add the 'exception' argument to 3 out of the 4 custom error handlers. This came from a real life problem where I'd added handlers but without the 'exception' argument, then when the handler was triggered, an error was raised due to it not accepting the right types. The feedback loop for this failure is pretty long as these only get hit when DEBUG=False and not during tests.

We should check the signatures of these handler functions with a django check (i.e. that they accept 1 or 2 arguments, depending on which one they are) in order to prevent this happening to others."	New feature	closed	Core (System checks)	dev	Normal	fixed			Accepted	1	0	0	0	0	0
