summaryrefslogtreecommitdiff
path: root/lib/common/Box.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2012-01-22 16:20:06 +0000
committerChris Wilson <chris+github@qwirx.com>2012-01-22 16:20:06 +0000
commit1062c3d9033b2fd2f9c84f79bbdb6b9187a13934 (patch)
tree8d10b1f2bf58536fb94afea28be456607745fab6 /lib/common/Box.h
parent07f4ea4a6d3d64287bc448592fbf37dc6ad1c2fd (diff)
Allow log level "everything" to log exceptions even if suppressed.
Diffstat (limited to 'lib/common/Box.h')
-rw-r--r--lib/common/Box.h3
1 files changed, 2 insertions, 1 deletions
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: " \