Skip to content

Commit d83e2c0

Browse files
committed
sys/suit: print firmware URL if download fails
1 parent 3eee368 commit d83e2c0

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)