ENH: spit out debug message with the caught exception if YAML parsing fails