summaryrefslogtreecommitdiff
path: root/lib/common/Box.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2012-01-23 00:40:42 +0000
committerChris Wilson <chris+github@qwirx.com>2012-01-23 00:40:42 +0000
commitec36628676c99aa10f14f6f142d84e57143eda90 (patch)
tree3536238d1af3dbbc2825d467a92d96ef739870a3 /lib/common/Box.h
parentf2f19d0578b6f80a9a91b6035a1af3fe2c250bbc (diff)
Log exceptions with backtrace even if suppressed when log level is Log::EVERYTHING
also for exceptions with messages.
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 d68e79fe..4a30891a 100644
--- a/lib/common/Box.h
+++ b/lib/common/Box.h
@@ -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: " \