[Box Backup-commit] COMMIT r1818 - box/chris/general/lib/common

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Fri Sep 7 21:39:06 BST 2007


Author: chris
Date: 2007-09-07 21:39:06 +0100 (Fri, 07 Sep 2007)
New Revision: 1818

Modified:
   box/chris/general/lib/common/Configuration.cpp
Log:
Report the name of missing configuration keys in an error message.


Modified: box/chris/general/lib/common/Configuration.cpp
===================================================================
--- box/chris/general/lib/common/Configuration.cpp	2007-09-07 20:38:19 UTC (rev 1817)
+++ box/chris/general/lib/common/Configuration.cpp	2007-09-07 20:39:06 UTC (rev 1818)
@@ -319,6 +319,7 @@
 	
 	if(i == mKeys.end())
 	{
+		BOX_ERROR("Missing configuration key: " << pKeyName);
 		THROW_EXCEPTION(CommonException, ConfigNoKey)
 	}
 	else




More information about the Boxbackup-commit mailing list