mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 06:51:26 +12:00
Decrease log level of config file move error
This commit is contained in:
parent
1cff5b35d4
commit
6805c36004
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue