diff options
author | Chris Wilson <chris+github@qwirx.com> | 2012-01-22 16:20:06 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2012-01-22 16:20:06 +0000 |
commit | 1062c3d9033b2fd2f9c84f79bbdb6b9187a13934 (patch) | |
tree | 8d10b1f2bf58536fb94afea28be456607745fab6 /lib/common/Box.h | |
parent | 07f4ea4a6d3d64287bc448592fbf37dc6ad1c2fd (diff) |
Allow log level "everything" to log exceptions even if suppressed.
Diffstat (limited to 'lib/common/Box.h')
-rw-r--r-- | lib/common/Box.h | 3 |
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: " \ |