diff options
Diffstat (limited to 'src/com/android/tradefed/targetprep/CdmaDeviceFlasher.java')
-rw-r--r-- | src/com/android/tradefed/targetprep/CdmaDeviceFlasher.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/tradefed/targetprep/CdmaDeviceFlasher.java b/src/com/android/tradefed/targetprep/CdmaDeviceFlasher.java index 47e2c6f07..db2d14663 100644 --- a/src/com/android/tradefed/targetprep/CdmaDeviceFlasher.java +++ b/src/com/android/tradefed/targetprep/CdmaDeviceFlasher.java @@ -165,7 +165,8 @@ public class CdmaDeviceFlasher extends FastbootDeviceFlasher { flashNamedPartition(device, updateDir, "recovery"); flashNamedPartition(device, updateDir, "system"); } catch (IOException e) { - throw new TargetSetupError(String.format("Got IOException: %s", e.getMessage())); + throw new TargetSetupError(String.format("Got IOException: %s", e.getMessage()), + device.getDeviceDescriptor()); } finally { if (updateDir != null) { FileUtil.recursiveDelete(updateDir); |