Skip to content

Commit

Permalink
update the wording of failure_reason
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodong-Yang committed Dec 23, 2024
1 parent 681b791 commit 10a1bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/otaclient/ota_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ def __init__(
payload=OTAStatusChangeReport(
new_ota_status=OTAStatus.FAILURE,
failure_type=FailureType.UNRECOVERABLE,
failure_reason="ecu_info.yaml file is broken, please check /boot/ota/ecu_info.yaml. "
failure_reason=f"ecu_info.yaml file is broken or missing, please check {cfg.ECU_INFO_FPATH}. "
"reject any OTA request.",
),
)
Expand Down

0 comments on commit 10a1bf1

Please sign in to comment.