Revert "Improve the standard error message in the lab if an update fails."
This reverts commit 71fe97fe10f6979e7db628e28ef0de087b79c021.
BUG=chromium:328522
Change-Id: Iec595fa3094a8079056786db88c8639209896fec
Reviewed-on: https://chromium-review.googlesource.com/180046
Reviewed-by: Richard Barnette <jrbarnette@chromium.org>
Commit-Queue: Richard Barnette <jrbarnette@chromium.org>
Tested-by: Richard Barnette <jrbarnette@chromium.org>
diff --git a/client/common_lib/cros/autoupdater.py b/client/common_lib/cros/autoupdater.py
index e641c4a..af2dae3 100644
--- a/client/common_lib/cros/autoupdater.py
+++ b/client/common_lib/cros/autoupdater.py
@@ -222,18 +222,9 @@
logging.info('Triggering update via: %s', autoupdate_cmd)
try:
self._run(autoupdate_cmd)
- except (error.AutoservSshPermissionDeniedError,
- error.AutoservSSHError,
- error.AutoservSSHTimeout) as e:
- raise RootFSUpdateError('SSH on %s is seeing %s' %
- (self.host.hostname, type(e).__name__))
-
- except error.AutoservRunError as e:
- raise RootFSUpdateError(
- 'devserver unreachable, payload unavailable, '
- 'or AU bug (unlikely) on %s: %s' %
- (self.host.hostname, type(e).__name__))
-
+ except error.AutoservRunError, e:
+ raise RootFSUpdateError('Update triggering failed on %s: %s' %
+ (self.host.hostname, str(e)))
def _verify_update_completed(self):
"""Verifies that an update has completed.