The exception could have occurred in `run`, in which case calling `check.critical` shoudl work fine. I suggest first testing whether `check` is set, and then either calling `check.critical` or reraising the exception.