fs/io/Reader: use C++ exceptions instead of class Error
This commit is contained in:
@@ -59,10 +59,7 @@ try {
|
||||
Error error;
|
||||
|
||||
config_global_init();
|
||||
if (!ReadConfigFile(config_path, error)) {
|
||||
LogError(error);
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
ReadConfigFile(config_path);
|
||||
|
||||
/* initialize the core */
|
||||
|
||||
|
Reference in New Issue
Block a user