[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 88: fix a few error messages

Message ID 20110818151015.21765.36533.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Paul Larson Aug. 18, 2011, 3:10 p.m.
------------------------------------------------------------
revno: 88
committer: Paul Larson <paul.larson@linaro.org>
branch nick: lava-dispatcher
timestamp: Thu 2011-08-18 15:51:08 +0100
message:
  fix a few error messages
modified:
  lava_dispatcher/actions/android_deploy.py


--
lp:lava-dispatcher
https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk

You are subscribed to branch lp:lava-dispatcher.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription

Patch

=== modified file 'lava_dispatcher/actions/android_deploy.py'
--- lava_dispatcher/actions/android_deploy.py	2011-08-04 07:19:53 +0000
+++ lava_dispatcher/actions/android_deploy.py	2011-08-18 14:51:08 +0000
@@ -45,7 +45,7 @@ 
         except:
             tb = traceback.format_exc()
             client.sio.write(tb)
-            raise CriticalError("Network can't probe up when deployment")
+            raise CriticalError("Unable to reach LAVA server, check network")
 
         try:
             boot_tbz2, system_tbz2, data_tbz2 = self.download_tarballs(boot,
@@ -53,7 +53,7 @@ 
         except:
             tb = traceback.format_exc()
             client.sio.write(tb)
-            raise CriticalError("Package can't download when deployment")
+            raise CriticalError("Unable to download artifacts for deployment")
 
         boot_tarball = boot_tbz2.replace(LAVA_IMAGE_TMPDIR, '')
         system_tarball = system_tbz2.replace(LAVA_IMAGE_TMPDIR, '')