fix: sentry 4459819517

This commit is contained in:
Andras Bacsai committed 2023-09-08 16:16:28 +02:00
1 parent acd78ae196
commit e4a51cc116
1 file changed
+1 -1
@@ -32,7 +32,7 @@ class TelegramChannel
break;
}
if (!$telegramToken || !$chatId || !$message) {
throw new \Exception('Telegram token, chat id and message are required');
return;
}
dispatch(new SendMessageToTelegramJob($message, $buttons, $telegramToken, $chatId, $topicId));
}