Skip to content

Commit 8774ed2

Browse files
authored
Merge pull request #21695 from benpicco/suit_fetch-info
sys/suit: print firmware URL if download fails
2 parents 7e7af30 + d83e2c0 commit 8774ed2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sys/suit/handlers_command_seq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ static int _dtv_fetch(suit_manifest_t *manifest, int key,
475475
suit_component_set_flag(comp, SUIT_COMPONENT_STATE_FETCH_FAILED);
476476
/* TODO: The leftover data from a failed fetch should be purged. It
477477
* could contain potential malicious data from an attacker */
478-
LOG_INFO("image download failed with code %i\n", res);
478+
LOG_INFO("image download (%s) failed with code %i\n", manifest->urlbuf, res);
479479
return res;
480480
}
481481

0 commit comments

Comments
 (0)