diff options
| author | Tom Forbes <tom@tomforb.es> | 2019-05-28 19:06:39 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-05-29 08:30:22 +0200 |
| commit | ace0bec804d0bd74e1ecddbe3ea9a8b5b5d0a718 (patch) | |
| tree | 613059486a39c15f6f5cfea671abe5797338d0a4 /django | |
| parent | 0f0d1cd7722238158011c7717d410fae37513ceb (diff) | |
[2.2.x] Fixed #30516 -- Fixed crash of autoreloader when re-raising exceptions with custom signature.
Regression in c8720e7696ca41f3262d5369365cc1bd72a216ca.
Backport of 0344565179527d80990e2247e3be7c04aa8c43c8 from master
Diffstat (limited to 'django')
| -rw-r--r-- | django/utils/autoreload.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/autoreload.py b/django/utils/autoreload.py index ade9abdfdf..35952d5631 100644 --- a/django/utils/autoreload.py +++ b/django/utils/autoreload.py @@ -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(): |
