Outputing error message when the yaml parsing fail