From 1062c3d9033b2fd2f9c84f79bbdb6b9187a13934 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 22 Jan 2012 16:20:06 +0000 Subject: Allow log level "everything" to log exceptions even if suppressed. --- lib/common/Box.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/common/Box.h b/lib/common/Box.h index 158fab7b..d68e79fe 100644 --- a/lib/common/Box.h +++ b/lib/common/Box.h @@ -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: " \ -- cgit v1.2.3