mirror of https://github.com/ARMmbed/mbed-os.git
Host test plugins: Added extra line for error printing in mbed copy plugin. For readability reasons
parent
4d8dfed27f
commit
4f76a567f6
|
@ -32,7 +32,8 @@ class HostTestPluginCopyMethod_Mbed(HostTestPluginBase):
|
||||||
try:
|
try:
|
||||||
copy(image_path, destination_disk)
|
copy(image_path, destination_disk)
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
self.print_plugin_error("shutil.copy(%s, %s) failed: %s"% (image_path, destination_disk, str(e)))
|
self.print_plugin_error("shutil.copy('%s', '%s')"% (image_path, destination_disk))
|
||||||
|
self.print_plugin_error("Error: %s"% str(e))
|
||||||
result = False
|
result = False
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue