From 61e381befce0166c7f65efe3910b7bc212fa23dc Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Thu, 26 Jul 2012 11:42:57 +0200 Subject: [PATCH] Fixed incorrect references to the 'retention.dat' file. --- base/configobject.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/configobject.cpp b/base/configobject.cpp index e0e3bf8fb..21a1258c2 100644 --- a/base/configobject.cpp +++ b/base/configobject.cpp @@ -237,7 +237,7 @@ void ConfigObject::DumpObjects(const string& filename) fp.open(filename.c_str()); if (!fp) - throw_exception(runtime_error("Could not open retention.dat file")); + throw_exception(runtime_error("Could not open '" + filename + "' file")); FIFO::Ptr fifo = boost::make_shared(); @@ -296,7 +296,7 @@ void ConfigObject::RestoreObjects(const string& filename) Variant value = Variant::Deserialize(message); if (!value.IsObjectType()) - throw_exception(runtime_error("JSON objects in the retention file must be dictionaries.")); + throw_exception(runtime_error("JSON objects in the program state file must be dictionaries.")); Dictionary::Ptr persistentObject = value; -- 2.40.0