From d83e2c03947c4c4ab314d88140a01b9eb368408d Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Thu, 4 Sep 2025 16:44:05 +0200 Subject: [PATCH] sys/suit: print firmware URL if download fails --- sys/suit/handlers_command_seq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/suit/handlers_command_seq.c b/sys/suit/handlers_command_seq.c index d2d6add445..e86200c158 100644 --- a/sys/suit/handlers_command_seq.c +++ b/sys/suit/handlers_command_seq.c @@ -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; }