mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
fw-addr-lists: add debug message on successful download
This commit is contained in:
parent
4b6d0c02f1
commit
af6556bdba
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,7 @@
|
||||||
:global CertificateAvailable;
|
:global CertificateAvailable;
|
||||||
:global EitherOr;
|
:global EitherOr;
|
||||||
:global FetchHuge;
|
:global FetchHuge;
|
||||||
|
:global HumanReadableNum;
|
||||||
:global LogPrint;
|
:global LogPrint;
|
||||||
:global LogPrintOnce;
|
:global LogPrintOnce;
|
||||||
:global ScriptLock;
|
:global ScriptLock;
|
||||||
|
@ -77,6 +78,8 @@
|
||||||
:set Data "";
|
:set Data "";
|
||||||
:set Failure true;
|
:set Failure true;
|
||||||
$LogPrint warning $ScriptName ("Failed downloading list from: " . $List->"url");
|
$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={
|
:while ([ :len $Data ] != 0) do={
|
||||||
|
|
Loading…
Reference in a new issue