From 0a786fec3e3a0473fe76d20b5fb226b827606870 Mon Sep 17 00:00:00 2001 From: Li Hua Qian Date: Tue, 12 Dec 2023 16:16:54 +0800 Subject: [PATCH] iot2050-firmware-update: Show error message when retry Signed-off-by: Li Hua Qian --- .../iot2050-firmware-update/files/iot2050-firmware-update.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-app/iot2050-firmware-update/files/iot2050-firmware-update.tmpl b/recipes-app/iot2050-firmware-update/files/iot2050-firmware-update.tmpl index e32b213f0..9ca052b1b 100755 --- a/recipes-app/iot2050-firmware-update/files/iot2050-firmware-update.tmpl +++ b/recipes-app/iot2050-firmware-update/files/iot2050-firmware-update.tmpl @@ -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 = '''