summaryrefslogtreecommitdiff
path: root/src/filters.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-10 08:17:32 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-10 08:17:32 -0400
commit91a99fc88e61d79c76b6c985b64f9af421c3d634 (patch)
treec921b0dc533d1b99a979157fd745b88045b0f2cf /src/filters.cc
parent77c5df4053855addcf0ed58e0e45b0226bd0d31c (diff)
downloadfork-ledger-91a99fc88e61d79c76b6c985b64f9af421c3d634.tar.gz
fork-ledger-91a99fc88e61d79c76b6c985b64f9af421c3d634.tar.bz2
fork-ledger-91a99fc88e61d79c76b6c985b64f9af421c3d634.zip
Fix to budgeting when fixed dates are involved
Diffstat (limited to 'src/filters.cc')
-rw-r--r--src/filters.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/filters.cc b/src/filters.cc
index b818c7d0..2c2a0d5a 100644
--- a/src/filters.cc
+++ b/src/filters.cc
@@ -1154,8 +1154,7 @@ void budget_posts::report_budget_items(const date_t& date)
optional<date_t> begin = pair.first.start;
if (! begin) {
if (! pair.first.find_period(date))
- throw_(std::runtime_error,
- _("Something odd has happened at date %1") << date);
+ continue;
begin = pair.first.start;
}
assert(begin);