From c2ab2f2208c9fea1c03e46fa219576ae4760a067 Mon Sep 17 00:00:00 2001 From: Nils Maier Date: Tue, 7 Jan 2014 14:11:21 +0100 Subject: [PATCH] Log an error when session fails to save. Instead of a notice. --- src/SaveSessionCommand.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SaveSessionCommand.cc b/src/SaveSessionCommand.cc index a09811e5..d94815ad 100644 --- a/src/SaveSessionCommand.cc +++ b/src/SaveSessionCommand.cc @@ -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())); } } }