Skip to content

Commit

Permalink
iot2050-firmware-update: Show error message when retry
Browse files Browse the repository at this point in the history
Signed-off-by: Li Hua Qian <[email protected]>
  • Loading branch information
huaqianli committed Dec 12, 2023
1 parent d3ac46d commit 0a786fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@ def main(argv):
if index > 2:
raise UpgradeError(e.err, e.code)
index += 1
print("Failed to upgrade, try again!")
print("Failed to upgrade due to {e.err}, try again!")
except UpgradeError as e:
print(e.err)
input_reminder = '''
Expand Down

0 comments on commit 0a786fe

Please sign in to comment.