Skip to content

Commit

Permalink
rpi_boot: minor fix to make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodong-Yang committed Nov 2, 2023
1 parent dec9b50 commit 581241e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion otaclient/app/boot_control/_rpi_boot.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,9 @@ def _update_firmware(self):
os.replace(_initrd_img, self.initrd_img_active_slot)
os.sync()
except Exception as e:
_err_msg = f"apply new kernel,initrd.img for {self.active_slot} failed"
_err_msg = (
f"apply new kernel,initrd.img for {self.active_slot} failed: {e!r}"
)
logger.error(_err_msg)
raise _RPIBootControllerError(_err_msg)

Expand Down

0 comments on commit 581241e

Please sign in to comment.