feat: send internal notification to discord

This commit is contained in:
Andras Bacsai
2023-08-16 16:03:30 +02:00
parent d15e1bcc7d
commit 3ab38e69fc
5 changed files with 51 additions and 6 deletions

View File

@@ -52,6 +52,7 @@ class SendConfirmationForWaitlistJob implements ShouldQueue
->html((string) $mail->render())
);
} catch (\Throwable $th) {
send_internal_notification('SendConfirmationForWaitlistJob failed with error: ' . $th->getMessage());
ray($th->getMessage());
throw $th;
}