summaryrefslogtreecommitdiff
path: root/journal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'journal.cc')
-rw-r--r--journal.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/journal.cc b/journal.cc
index c326a223..68e3825c 100644
--- a/journal.cc
+++ b/journal.cc
@@ -197,7 +197,7 @@ bool entry_base_t::finalize()
continue;
if (! empty_allowed)
- break;
+ throw new error("Only one transaction with null amount allowed per entry");
empty_allowed = false;
// If one transaction gives no value at all, its value will become