diff options
author | John Wiegley <johnw@newartisans.com> | 2009-10-27 08:02:57 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-10-27 08:30:59 -0400 |
commit | 4bdc0a663c6b746e41aeb0685d336516e79c0834 (patch) | |
tree | 08d8442f1c585c08c6c4755ee14d4daefe091826 /src/value.cc | |
parent | 23a7c22c70671f2d5467af629bc78d090ac1e340 (diff) | |
download | fork-ledger-4bdc0a663c6b746e41aeb0685d336516e79c0834.tar.gz fork-ledger-4bdc0a663c6b746e41aeb0685d336516e79c0834.tar.bz2 fork-ledger-4bdc0a663c6b746e41aeb0685d336516e79c0834.zip |
Added debug code
Diffstat (limited to 'src/value.cc')
-rw-r--r-- | src/value.cc | 3 |
1 files changed, 3 insertions, 0 deletions
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; |