mirror of
https://github.com/aria2/aria2.git
synced 2025-01-08 11:01:38 +00:00
Log an error when session fails to save.
Instead of a notice.
This commit is contained in:
parent
e81dd84641
commit
c2ab2f2208
@ -69,8 +69,8 @@ void SaveSessionCommand::process()
|
||||
A2_LOG_NOTICE(fmt(_("Serialized session to '%s' successfully."),
|
||||
filename.c_str()));
|
||||
} else {
|
||||
A2_LOG_NOTICE(fmt(_("Failed to serialize session to '%s'."),
|
||||
filename.c_str()));
|
||||
A2_LOG_ERROR(fmt(_("Failed to serialize session to '%s'."),
|
||||
filename.c_str()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user