mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-10 21:40:43 +00:00
Decrease log level of config file move error
This commit is contained in:
parent
1cff5b35d4
commit
6805c36004
@ -417,7 +417,7 @@ void Emulator::Init()
|
|||||||
|
|
||||||
if (!fs::rename(old_path, cfg_path, false))
|
if (!fs::rename(old_path, cfg_path, false))
|
||||||
{
|
{
|
||||||
sys_log.error("Failed to move '%s' to '%s' (error='%s')", old_path, cfg_path, fs::g_tls_error);
|
(fs::g_tls_error == fs::error::exist ? sys_log.warning : sys_log.error)("Failed to move '%s' to '%s' (error='%s')", old_path, cfg_path, fs::g_tls_error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -159,7 +159,7 @@ void games_config::load()
|
|||||||
|
|
||||||
if (!fs::rename(old_path, path, false))
|
if (!fs::rename(old_path, path, false))
|
||||||
{
|
{
|
||||||
cfg_log.error("Failed to move '%s' to '%s' (error='%s')", old_path, path, fs::g_tls_error);
|
(fs::g_tls_error == fs::error::exist ? cfg_log.warning : cfg_log.error)("Failed to move '%s' to '%s' (error='%s')", old_path, path, fs::g_tls_error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user