From ec36628676c99aa10f14f6f142d84e57143eda90 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 23 Jan 2012 00:40:42 +0000 Subject: Log exceptions with backtrace even if suppressed when log level is Log::EVERYTHING also for exceptions with messages. --- 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 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: " \ -- cgit v1.2.3