diff options
author | John Wiegley <johnw@newartisans.com> | 2010-05-22 19:16:11 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-05-22 21:35:03 -0400 |
commit | db5418c8386e4a1a1b72e0bcdba2eeb22f99b96f (patch) | |
tree | 96c7fefa6dd846eaa5c53fec412dff54c866b633 /src/filters.cc | |
parent | 925b70d5c60849a2ca6857fcc5727f0d87d14757 (diff) | |
download | fork-ledger-db5418c8386e4a1a1b72e0bcdba2eeb22f99b96f.tar.gz fork-ledger-db5418c8386e4a1a1b72e0bcdba2eeb22f99b96f.tar.bz2 fork-ledger-db5418c8386e4a1a1b72e0bcdba2eeb22f99b96f.zip |
Made a peculiar error slightly more verbose
Diffstat (limited to 'src/filters.cc')
-rw-r--r-- | src/filters.cc | 3 |
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); |