From 4bdc0a663c6b746e41aeb0685d336516e79c0834 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 27 Oct 2009 08:02:57 -0400 Subject: [PATCH] Added debug code --- src/value.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/value.cc b/src/value.cc index 6ce46f5c..c3a3a05b 100644 --- a/src/value.cc +++ b/src/value.cc @@ -617,6 +617,9 @@ value_t& value_t::operator*=(const value_t& val) break; } + DEBUG("value.multiply.error", "Left: " << *this); + DEBUG("value.multiply.error", "Right: " << val); + throw_(value_error, _("Cannot multiply %1 with %2") << label() << val.label()); return *this;