summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/filters.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/filters.cc b/src/filters.cc
index 0c45d356..13e188b1 100644
--- a/src/filters.cc
+++ b/src/filters.cc
@@ -869,7 +869,8 @@ 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"));
+ throw_(std::runtime_error,
+ _("Something odd has happened at date %1") << date);
begin = pair.first.start;
}
assert(begin);