Use invoke to re-raise exceptions