21 | | The problem is that `django.utils.autoreload.raise_last_exception` tries to construct a new exception of the same type, with 1 argument (the original exception). Note that this behavior was changed in c8720e7696ca41f3262d5369365cc1bd72a216ca, it used to just re-raise the exception value. I don't know why it was changed. |
| 21 | The problem is that `django.utils.autoreload.raise_last_exception` tries to construct a new exception of the same type, with 1 argument (the original exception). The consequence is that you just get a TypeError exception about ` __init__() missing 1 required positional argument: 'other_thing'` and it completely masks the original exception. |
| 22 | |
| 23 | Note that this behavior was changed in c8720e7696ca41f3262d5369365cc1bd72a216ca, it used to just re-raise the exception value. I don't know why it was changed. |