diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-08 20:05:56 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-08 20:05:56 -0400 |
commit | 02bd9d29cf7c899b5be4575f00f967e277aece99 (patch) | |
tree | f976a7ea86b4792222cf2313affab7762f2cf51b /src/entry.cc | |
parent | 4f5799c216df4a1b57bc5c59f286a685b0f77448 (diff) | |
download | ledger-02bd9d29cf7c899b5be4575f00f967e277aece99.tar.gz ledger-02bd9d29cf7c899b5be4575f00f967e277aece99.tar.bz2 ledger-02bd9d29cf7c899b5be4575f00f967e277aece99.zip |
Improved an error message that was trying to show transaction context.
Diffstat (limited to 'src/entry.cc')
-rw-r--r-- | src/entry.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entry.cc b/src/entry.cc index 5082b34a..f8166559 100644 --- a/src/entry.cc +++ b/src/entry.cc @@ -222,7 +222,7 @@ bool entry_base_t::finalize() DEBUG("entry.finalize", "final balance = " << balance); if (! balance.is_null() && ! balance.is_zero()) { - add_error_context(item_context(*this)); + add_error_context(item_context(*this, "While balancing entry")); add_error_context("Unbalanced remainder is:"); add_error_context(value_context(balance)); throw_(balance_error, "Entry does not balance"); |