1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-27 07:21:18 +01:00

Merge pull request #21695 from benpicco/suit_fetch-info

sys/suit: print firmware URL if download fails
This commit is contained in:
crasbe 2025-09-05 06:47:12 +00:00 committed by GitHub
commit 8774ed26d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -475,7 +475,7 @@ static int _dtv_fetch(suit_manifest_t *manifest, int key,
suit_component_set_flag(comp, SUIT_COMPONENT_STATE_FETCH_FAILED);
/* TODO: The leftover data from a failed fetch should be purged. It
* could contain potential malicious data from an attacker */
LOG_INFO("image download failed with code %i\n", res);
LOG_INFO("image download (%s) failed with code %i\n", manifest->urlbuf, res);
return res;
}