From db5418c8386e4a1a1b72e0bcdba2eeb22f99b96f Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 22 May 2010 19:16:11 -0400 Subject: Made a peculiar error slightly more verbose --- src/filters.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/filters.cc') 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 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); -- cgit v1.2.3