Fix a error handling mistake