mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
Decrease log level of config file move error
This commit is contained in:
parent
9c5584956e
commit
308b12cacf
2 changed files with 2 additions and 2 deletions
|
@ -417,7 +417,7 @@ void Emulator::Init()
|
|||
|
||||
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
|
||||
|
|
|
@ -159,7 +159,7 @@ void games_config::load()
|
|||
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue