Log warning when telegram config is missing

This commit is contained in:
Francesco Lorenzo D'Amico
2026-08-20 11:36:28 +02:00
parent 028e62407a
commit a8f664a6ba
@@ -41,6 +41,7 @@ public class ContactMessageNotificationService : BackgroundService
if (string.IsNullOrWhiteSpace(botToken) || string.IsNullOrWhiteSpace(chatId))
{
_logger.LogWarning("Telegram:BotToken oder Telegram:ChatId ist nicht konfiguriert Benachrichtigung wird übersprungen.");
return;
}