Do not catch errors
Let the exceptions abort the deployment script. The caller must know
something went wrong without having to parse the logs.
Issue: INFRA-241
Change-Id: Ibf6262376040ee7e4966712bad7d51bb5e4e0759
diff --git a/deploy.py b/deploy.py
index b9b3ed0..c1f130a 100755
--- a/deploy.py
+++ b/deploy.py
@@ -643,8 +643,6 @@
# Push the scenarios, their data, and install the apps
suite.deploy(device)
- except (BaseError, uiautomator.JsonRPCError):
- _LOG.error("Failed to execute deployment", exc_info=True)
finally:
try:
# Leave the device alone now