Correctly report errors