diff options
author | Chris Wilson <chris+github@qwirx.com> | 2007-07-26 19:35:13 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2007-07-26 19:35:13 +0000 |
commit | 1893383ff18bf5af2443c467b3811c8544653f1e (patch) | |
tree | 5b3a6406b37c32dd547fc1a2dd69b7a454c97e29 /lib/common/Box.h | |
parent | 2cee87c2df1aa7809c07907cfc3a61f39796c2ad (diff) |
Warn if an exception is thrown, with line number, as this shouldn't be
happening on production systems anyway.
Diffstat (limited to 'lib/common/Box.h')
-rw-r--r-- | lib/common/Box.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common/Box.h b/lib/common/Box.h index 8faa2d58..9c0141d7 100644 --- a/lib/common/Box.h +++ b/lib/common/Box.h @@ -112,7 +112,7 @@ #define THROW_EXCEPTION(type, subtype) \ { \ OPTIONAL_DO_BACKTRACE \ - BOX_TRACE("Exception thrown: " #type "(" #subtype ") at " \ + BOX_WARN("Exception thrown: " #type "(" #subtype ") at " \ __FILE__ "(" << __LINE__ << ")") \ throw type(type::subtype); \ } |