Using the error reporting framework
This commit is contained in:
parent
5d3580bdee
commit
220a4e1354
@ -223,7 +223,7 @@ static int _configure_load(Prefs * prefs, String const * directory,
|
|||||||
if(prefs->flags & PREFS_v)
|
if(prefs->flags & PREFS_v)
|
||||||
printf("%s%s%s", "Loading project file ", path, "\n");
|
printf("%s%s%s", "Loading project file ", path, "\n");
|
||||||
if(config_load(config, path) != 0)
|
if(config_load(config, path) != 0)
|
||||||
ret = configure_error(path, 1);
|
ret = error_print(PACKAGE);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
array_append(ca, &config);
|
array_append(ca, &config);
|
||||||
|
Loading…
Reference in New Issue
Block a user