mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-07-16 13:04:32 +02:00
global-functions: $LogPrintExit2: always print the message...
... even on error. Not sure why and when this broke.
This commit is contained in:
parent
5c3585cd98
commit
b0d3e3d5f4
1 changed files with 5 additions and 5 deletions
|
@ -531,11 +531,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
:if ($Severity != "debug" || $Debug = true) do={
|
:if ($Severity != "debug" || $Debug = true) do={
|
||||||
:if ($Exit = "true") do={
|
:put ([ $PrintSeverity $Severity ] . ": " . $Message);
|
||||||
:error ([ $PrintSeverity $Severity ] . ": " . $Message);
|
}
|
||||||
} else={
|
|
||||||
:put ([ $PrintSeverity $Severity ] . ": " . $Message);
|
:if ($Exit = "true") do={
|
||||||
}
|
:error ("Hard error to exit.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue