fix: sentry 4459819517

This commit is contained in:
Andras Bacsai 2023-09-08 16:16:28 +02:00
parent acd78ae196
commit e4a51cc116

View File

@ -32,7 +32,7 @@ public function send($notifiable, $notification): void
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));
}