mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
check-routeros-update: be more verbose on error
This commit is contained in:
parent
a19f15c515
commit
688c757df0
1 changed files with 1 additions and 1 deletions
|
@ -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...");
|
||||
|
|
Loading…
Reference in a new issue