Fix error.handle_exception() reporting the NonCritical errors.