﻿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
16245	send_robust should include traceback in response when Exception occurs	Jim Dalton	Unai Zalakain	"I have cron job that runs a task which sends a signal via `send_robust`. I ran into a wall recently in trying to configure better logging for this job. The basic problem is that I can't access the traceback for any exception that occurred in a receiver, which makes debugging in my situation something of a nightmare.

As it stands now, if an exception occurs in a receiver when a `send_robust` signal is sent, a tuple is added to the responses list which contains the receiver function and the exception.

I would like to propose that we include the traceback as a third item in the tuple. With the exception and traceback, it is possible to construct the `(type, value, traceback)` returned by `sys.exc_info()` (and used by the Python logging module), so that exceptions in receiver functions can be more effectively debugged.

A patch will require no more than a line or two in production and test code and probably a minor documentation tweak.

I will submit a patch for this shortly, unless anybody presents any objections or concerns."	Cleanup/optimization	closed	Core (Other)	dev	Normal	fixed	signals	Jim Dalton unai@…	Accepted	1	0	0	0	0	0
