[Box Backup-commit] COMMIT r3061 - box/trunk/lib/common

subversion at boxbackup.org subversion at boxbackup.org
Sun Jan 22 16:20:06 GMT 2012


Author: chris
Date: 2012-01-22 16:20:06 +0000 (Sun, 22 Jan 2012)
New Revision: 3061

Modified:
   box/trunk/lib/common/Box.h
Log:
Allow log level "everything" to log exceptions even if suppressed.


Modified: box/trunk/lib/common/Box.h
===================================================================
--- box/trunk/lib/common/Box.h	2012-01-22 16:19:19 UTC (rev 3060)
+++ box/trunk/lib/common/Box.h	2012-01-22 16:20:06 UTC (rev 3061)
@@ -103,7 +103,8 @@
 
 #define THROW_EXCEPTION(type, subtype) \
 	{ \
-		if(!HideExceptionMessageGuard::ExceptionsHidden()) \
+		if(!HideExceptionMessageGuard::ExceptionsHidden() \
+			|| Logging::IsEnabled(Log::EVERYTHING)) \
 		{ \
 			OPTIONAL_DO_BACKTRACE \
 			BOX_WARNING("Exception thrown: " \




More information about the Boxbackup-commit mailing list