mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-07-24 21:04:51 +02:00
global-functions: $LogAndError: add severity
This commit is contained in:
parent
6ef764c7d7
commit
3ebf68a08c
12 changed files with 16 additions and 15 deletions
|
@ -11,7 +11,7 @@
|
|||
:local Action $action;
|
||||
|
||||
:if ([ :typeof $Action ] = "nothing") do={
|
||||
$LogAndError "This script is supposed to run from SMS hook with action=...";
|
||||
$LogAndError error "This script is supposed to run from SMS hook with action=...";
|
||||
}
|
||||
|
||||
:local Code ($SmsAction->$Action);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue