This should just be `raise`, not `raise e`. The difference is that `raise e` will change the stacktrace for the exception to point to this line of code, while `raise` will re-raise the captured exception without changing its stacktrace.