feat: send internal notification to discord

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

No files matched your search

+1
View File
@@ -29,6 +29,7 @@ class CleanupInstanceStuffsJob implements ShouldQueue, ShouldBeUnique
try {
$this->cleanup_waitlist();
} catch (\Exception $e) {
send_internal_notification('CleanupInstanceStuffsJob failed with error: ' . $e->getMessage());
ray($e->getMessage());
}
}