[gnome-continuous] testbase: show error message if some error has occurred during testuser preparations



commit d3615a5f4050c9d0fbe1f83f3bdc56dafec15328
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Fri Mar 6 15:29:36 2015 +0100

    testbase: show error message if some error has occurred during testuser preparations

 src/js/tasks/testbase.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/js/tasks/testbase.js b/src/js/tasks/testbase.js
index 5eeaa17..79d28bb 100644
--- a/src/js/tasks/testbase.js
+++ b/src/js/tasks/testbase.js
@@ -460,6 +460,8 @@ const TestOneDisk = new Lang.Class({
             LibQA.enableAutologin(currentDir, currentEtcDir, username, this._loginType, cancellable);
 
             this._parentTask._prepareDisk(mntdir, this._diskArch, cancellable);
+        } catch (e) {
+            print("testuser preparations failed: " + e);
         } finally {
             gfmnt.umount(cancellable);
         }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]