fw-addr-lists: add debug message on successful download

This commit is contained in:
Christian Hesse 2024-04-04 19:37:38 +02:00
parent 4b6d0c02f1
commit af6556bdba

View file

@ -20,6 +20,7 @@
:global CertificateAvailable;
:global EitherOr;
:global FetchHuge;
:global HumanReadableNum;
:global LogPrint;
:global LogPrintOnce;
:global ScriptLock;
@ -77,6 +78,8 @@
:set Data "";
:set Failure true;
$LogPrint warning $ScriptName ("Failed downloading list from: " . $List->"url");
} else={
$LogPrint debug $ScriptName ("Downloaded " . [ $HumanReadableNum [ :len $Data ] 1024 ] . "B from: " . $List->"url");
}
:while ([ :len $Data ] != 0) do={