can catch any type of exception here since we re-raise the exception anyway