summaryrefslogtreecommitdiff
path: root/src/filters.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/filters.cc')
-rw-r--r--src/filters.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/filters.cc b/src/filters.cc
index 4b8c7162..d91d12ff 100644
--- a/src/filters.cc
+++ b/src/filters.cc
@@ -201,10 +201,8 @@ void calc_xacts::operator()(xact_t& xact)
last_xact = &xact;
}
catch (const std::exception& err) {
- add_error_context("Calculating transaction at");
-#if 0
- add_error_context(xact_context(xact));
-#endif
+ add_error_context("While calculating transaction:");
+ add_error_context(item_context(xact));
throw;
}
}