Commit 933db2dd authored by Christian Hesse's avatar Christian Hesse

sms-action: give hint about mis-usage

parent 15beb923
......@@ -8,6 +8,11 @@
:local Action $action;
:if ([ :typeof $Action ] = "nothing") do={
:log error "This script is supposed to run from SMS hook with action=...";
:error "Error: See log for details.";
}
:local Code ($SmsAction->$Action);
:local Parsed [ :parse $Code ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment