diff --git a/examples/pinproctest/pinproctest.cpp b/examples/pinproctest/pinproctest.cpp index 49ef61d..521a642 100644 --- a/examples/pinproctest/pinproctest.cpp +++ b/examples/pinproctest/pinproctest.cpp @@ -53,16 +53,16 @@ PRResult LoadConfiguration(YAML::Node& yamlDoc, const char *yamlFilePath) parser.GetNextDocument(yamlDoc); } } - catch (YAML::ParserException& ex) - { - fprintf(stderr, "YAML parse error at line=%d col=%d: %s\n", ex.line, ex.column, ex.msg.c_str()); - return kPRFailure; - } - catch (YAML::RepresentationException& ex) - { - fprintf(stderr, "YAML representation error at line=%d col=%d: %s\n", ex.line, ex.column, ex.msg.c_str()); - return kPRFailure; - } +// catch (YAML::ParserException& ex) +// { +// fprintf(stderr, "YAML parse error at line=%d col=%d: %s\n", ex.line, ex.column, ex.msg.c_str()); + // return kPRFailure; +// } +// catch (YAML::RepresentationException& ex) +// { +// fprintf(stderr, "YAML representation error at line=%d col=%d: %s\n", ex.line, ex.column, ex.msg.c_str()); +// return kPRFailure; +// } catch (...) { fprintf(stderr, "Unexpected exception while parsing YAML config.\n");