Monday, 29 October 2018

How do I make Django signal handlers not fail silently when an exception is encountered in the signal handler?

How do I make Django signal handlers not fail silently when an exception is encountered in the handler?

Is there a place where all these errors are logged while using development server?

Why do django signal handlers fail silently anyway? Isn't it against one of the lines in Zen of Python?

Zen of Python clearly states...

Errors should never pass silently.

It makes them a nightmare to debug. All you can see is that the signal is not getting fired...

I found this question but the answer is useless to me as it is very specific to the question (answer suggests using pyflakes, I already use pydev which does satisfactory static analysis)



from How do I make Django signal handlers not fail silently when an exception is encountered in the signal handler?

No comments:

Post a Comment