mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
telegram-chat: log with severity debug only...
... as failed request are quite common.
This commit is contained in:
@ -68,7 +68,7 @@ $WaitFullyConnected;
|
||||
$TelegramChatOffset->0 . "&allowed_updates=%5B%22message%22%5D") as-value ]->"data");
|
||||
:set Data [ :pick $Data ([ :find $Data "[" ] + 1) ([ :len $Data ] - 2) ];
|
||||
} on-error={
|
||||
$LogPrintExit2 info $0 ("Failed getting updates from Telegram.") true;
|
||||
$LogPrintExit2 debug $0 ("Failed getting updates from Telegram.") true;
|
||||
}
|
||||
|
||||
:local UpdateID 0;
|
||||
|
Reference in New Issue
Block a user