From 2c7593ae292ad8961d181cd580e6aa5f59e21b7a Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 24 Sep 2004 00:23:27 -0400 Subject: fix to entry --- derive.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'derive.cc') 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(); } -- cgit v1.2.3