From 95b8a47b81b987b7004dd46bf3d07a6baf948469 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 14 Feb 2023 22:01:49 +0100 Subject: telegram-chat: log command with failed syntax validation --- telegram-chat | 1 + 1 file changed, 1 insertion(+) diff --git a/telegram-chat b/telegram-chat index 51b3572..882ce55 100644 --- a/telegram-chat +++ b/telegram-chat @@ -120,6 +120,7 @@ $WaitFullyConnected; ("Output exceeds file read size.") ("No output.") ] ]) }); /file/remove "tmpfs/telegram-chat"; } else={ + $LogPrintExit2 info $0 ("The command from update " . $UpdateID . " failed syntax validation!") false; $SendTelegram2 ({ origin=$0; chatid=$ChatID; silent=false; \ subject=([ $SymbolForNotification "speech-balloon" ] . "Telegram Chat"); \ message=("Command:\n" . $Text . "\n\nThe command failed syntax validation!") }); -- cgit v1.2.3-54-g00ecf