From 9449ca2c807754826ba63831c247779370e9059d Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 27 Feb 2012 03:55:02 -0600 Subject: Whitespace fix --- src/xact.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') 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); - } } } } -- cgit v1.2.3