summaryrefslogtreecommitdiff
path: root/lib/common/Box.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2007-07-26 19:35:13 +0000
committerChris Wilson <chris+github@qwirx.com>2007-07-26 19:35:13 +0000
commit1893383ff18bf5af2443c467b3811c8544653f1e (patch)
tree5b3a6406b37c32dd547fc1a2dd69b7a454c97e29 /lib/common/Box.h
parent2cee87c2df1aa7809c07907cfc3a61f39796c2ad (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.h2
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); \
}