add missing case for setting result after handleException call