Properly report YAML parsing errors.