Log an error when session fails to save.

Instead of a notice.
This commit is contained in:
Nils Maier 2014-01-07 14:11:21 +01:00
parent e81dd84641
commit c2ab2f2208

View File

@ -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()));
}
}
}