config: add error messages when profile or config could not be saved.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
7408bc7bfa
commit
073beec9ff
|
@ -3219,7 +3219,10 @@ elm_config_all_flush(void)
|
|||
}
|
||||
|
||||
if (!_elm_config_profile_save())
|
||||
return;
|
||||
{
|
||||
ERR("Failed to save profile");
|
||||
return;
|
||||
}
|
||||
|
||||
buf[len] = '/';
|
||||
len++;
|
||||
|
@ -3242,7 +3245,10 @@ elm_config_all_flush(void)
|
|||
|
||||
ok = eet_data_write(ef, _config_edd, "config", _elm_config, 1);
|
||||
if (!ok)
|
||||
goto err;
|
||||
{
|
||||
ERR("Failed to write config (error %i)", ok);
|
||||
goto err;
|
||||
}
|
||||
|
||||
err = _elm_config_eet_close_error_get(ef, buf2);
|
||||
if (err)
|
||||
|
|
Loading…
Reference in New Issue