Follow up to ac1cf04
Thanks to @CairoLee
This commit is contained in:
parent
8417d7616b
commit
74cc00f88e
@ -50,6 +50,8 @@ yamlwrapper* yaml_load_file(const char* file_name) {
|
|||||||
} catch (YAML::ParserException &e) {
|
} catch (YAML::ParserException &e) {
|
||||||
ShowError("YAML Exception Caught: %s\n", e.what());
|
ShowError("YAML Exception Caught: %s\n", e.what());
|
||||||
return NULL;
|
return NULL;
|
||||||
|
} catch (YAML::BadFile &e) {
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return new yamlwrapper(node);
|
return new yamlwrapper(node);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user