From: Michael Goldish <mgold...@redhat.com>

We do this so that tests don't have to print the exception info themselves.

Signed-off-by: Michael Goldish <mgold...@redhat.com>
Signed-off-by: Uri Lublin <u...@redhat.com>

diff --git a/client/tests/kvm_runtest_2/kvm_runtest_2.py 
b/client/tests/kvm_runtest_2/kvm_runtest_2.py
index f3eb350..fda7282 100644
--- a/client/tests/kvm_runtest_2/kvm_runtest_2.py
+++ b/client/tests/kvm_runtest_2/kvm_runtest_2.py
@@ -93,7 +93,8 @@ class kvm_runtest_2(test.test):
                 env.sync()
 
             except Exception, e:
-                kvm_log.debug("Test failed (%s); postprocessing on error..." % 
e)
+                kvm_log.error("Test failed: %s" % e)
+                kvm_log.debug("Postprocessing on error...")
                 kvm_preprocessing.postprocess_on_error(self, params, env)
                 env.sync()
                 raise
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to