diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/xact.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/xact.cc b/src/xact.cc index ce4c032e..08dccaf2 100644 --- a/src/xact.cc +++ b/src/xact.cc @@ -667,12 +667,11 @@ void auto_xact_t::extend_xact(xact_base_t& xact) pair.first.calc(bound_scope); } else if (! pair.first.calc(bound_scope).to_boolean()) { - if (pair.second == auto_xact_t::EXPR_ASSERTION) { + if (pair.second == auto_xact_t::EXPR_ASSERTION) throw_(parse_error, _("Transaction assertion failed: %1") << pair.first); - } else { + else warning_(_("Transaction check failed: %1") << pair.first); - } } } } |