global-functions: $SendTelegram: use $LogPrintExit

This commit is contained in:
Christian Hesse 2020-04-03 16:53:06 +02:00
parent af77645174
commit df177212d1

View file

@ -629,7 +629,7 @@
http-data=("chat_id=" . $ChatId . "&disable_notification=" . $Silent . \ http-data=("chat_id=" . $ChatId . "&disable_notification=" . $Silent . \
"&text=" . [ $UrlEncode ("[" . $Identity . "] " . $Subject . "\n\n" . $Message) ]); "&text=" . [ $UrlEncode ("[" . $Identity . "] " . $Subject . "\n\n" . $Message) ]);
} on-error={ } on-error={
:log warning "Failed sending telegram notification!"; $LogPrintExit warning ("Failed sending telegram notification!") false;
} }
} }