summaryrefslogtreecommitdiff
path: root/derive.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-09-24 00:23:27 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-09-24 00:23:27 -0400
commit2c7593ae292ad8961d181cd580e6aa5f59e21b7a (patch)
tree945be79f0e0f43735374d6e96022b08c06211d12 /derive.cc
parent50e8cad6b4fa0168dd85fa0798a51bac47891f1a (diff)
downloadfork-ledger-2c7593ae292ad8961d181cd580e6aa5f59e21b7a.tar.gz
fork-ledger-2c7593ae292ad8961d181cd580e6aa5f59e21b7a.tar.bz2
fork-ledger-2c7593ae292ad8961d181cd580e6aa5f59e21b7a.zip
fix to entry
Diffstat (limited to 'derive.cc')
-rw-r--r--derive.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/derive.cc b/derive.cc
index 6089c03a..f1c874c7 100644
--- a/derive.cc
+++ b/derive.cc
@@ -112,7 +112,7 @@ entry_t * derive_new_entry(journal_t& journal,
done:
if (! run_hooks(journal.entry_finalize_hooks, *added))
- return NULL;
+ throw error("Failed to finalize derived entry (check commodities)");
return added.release();
}