Added debug code

This commit is contained in:
John Wiegley 2009-10-27 08:02:57 -04:00
parent 23a7c22c70
commit 4bdc0a663c

View file

@ -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;