summaryrefslogtreecommitdiff
path: root/src/filters.cc
diff options
context:
space:
mode:
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 a0d65478..b19c36f1 100644
--- a/src/filters.cc
+++ b/src/filters.cc
@@ -198,8 +198,7 @@ void calc_xacts::operator()(xact_t& xact)
last_xact = &xact;
}
catch (const std::exception& err) {
- add_error_context("While calculating transaction:");
- add_error_context(item_context(xact));
+ add_error_context(item_context(xact, "While calculating transaction"));
throw;
}
}