1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

[2.2.x] Fixed #30516 -- Fixed crash of autoreloader when re-raising exceptions with custom signature.

Regression in c8720e7696.

Backport of 0344565179 from master
This commit is contained in:
Tom Forbes
2019-05-28 19:06:39 +01:00
committed by Mariusz Felisiak
parent 0f0d1cd772
commit ace0bec804
3 changed files with 34 additions and 1 deletions

View File

@@ -74,7 +74,7 @@ def check_errors(fn):
def raise_last_exception():
global _exception
if _exception is not None:
raise _exception[0](_exception[1]).with_traceback(_exception[2])
raise _exception[1]
def ensure_echo_on():