mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 08:15:24 +00:00
Fix container status handling and notifications
This commit is contained in:
1 parent
6ccbf911b2
commit
3dd36a2271
5 files changed
+11
-15
No files matched your search
@@ -281,7 +281,7 @@ function send_internal_notification(string $message): void
|
||||
try {
|
||||
$baseUrl = config('app.name');
|
||||
$team = Team::find(0);
|
||||
$team->notify(new GeneralNotification("👀 {$baseUrl}: " . $message));
|
||||
$team?->notify(new GeneralNotification("👀 {$baseUrl}: " . $message));
|
||||
ray("👀 {$baseUrl}: " . $message);
|
||||
} catch (\Throwable $e) {
|
||||
ray($e->getMessage());
|
||||
|
||||
Reference in new issue
Block a user