aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--telegram-chat4
1 files changed, 3 insertions, 1 deletions
diff --git a/telegram-chat b/telegram-chat
index 1c10fcd..da3f0e5 100644
--- a/telegram-chat
+++ b/telegram-chat
@@ -114,7 +114,9 @@ $WaitFullyConnected;
message=("Command:\n" . $Text . "\n\n" . $State . "Output:\n" . $Content) });
/file/remove "tmpfs/telegram-chat";
} else={
- $LogPrintExit2 warning $0 ("The command failed syntax validation: " . $Text) false;
+ $SendTelegram2 ({ origin=$0; silent=false; \
+ subject=([ $SymbolForNotification "speech-balloon" ] . "Telegram Chat"); \
+ message=("Command:\n" . $Text . "\n\nThe command failed syntax validation!") });
}
}
}