Re-raise handler exceptions during testing.