Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: sentry 4459819517

Andras Bacsaie4a51cc1163d
diff --git a/app/Notifications/Channels/TelegramChannel.php b/app/Notifications/Channels/TelegramChannel.php
index 5dbc7e0492..1401bb324f 100644
--- a/app/Notifications/Channels/TelegramChannel.php
+++ b/app/Notifications/Channels/TelegramChannel.php
@@ -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));
}