Basically, things like `KeyboardInterrupt` aren't spyable. The fix should be to simply use `BaseException` instead of `Exception`.
Basically, things like
KeyboardInterruptaren't spyable. The fix should be to simply useBaseExceptioninstead ofException.