Fixed exception handling typo