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

subversion at boxbackup.org subversion at boxbackup.org
Mon Jan 23 00:40:42 GMT 2012


Author: chris
Date: 2012-01-23 00:40:42 +0000 (Mon, 23 Jan 2012)
New Revision: 3073

Modified:
   box/trunk/lib/common/Box.h
Log:
Log exceptions with backtrace even if suppressed when log level is Log::EVERYTHING
also for exceptions with messages.


Modified: box/trunk/lib/common/Box.h
===================================================================
--- box/trunk/lib/common/Box.h	2012-01-22 19:40:06 UTC (rev 3072)
+++ box/trunk/lib/common/Box.h	2012-01-23 00:40:42 UTC (rev 3073)
@@ -118,7 +118,8 @@
 	{ \
 		std::ostringstream _box_throw_line; \
 		_box_throw_line << message; \
-		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