1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

sys/suit: print firmware URL if download fails

This commit is contained in:
Benjamin Valentin 2025-09-04 16:44:05 +02:00
parent 3eee3687d8
commit d83e2c0394

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;
}