check-routeros-update: be more verbose on error

This commit is contained in:
Christian Hesse 2019-01-02 10:49:12 +01:00
parent a19f15c515
commit 688c757df0

View file

@ -33,7 +33,7 @@
($"safe-update-url" . $channel . "?installed=" . $installedversion . \
"&latest=" . $latestversion) output=user as-value ];
} on-error={
:log debug ("Failed receiving safe version.");
:log warning ("Failed receiving safe version for " . $channel . ".");
}
:if ($result->"status" = "finished" && $result->"data" = $latestversion) do={
:log info ("Version " . $latestversion . " is assumed safe, updating...");