disable internal notifications on the cloud

This commit is contained in:
Andras Bacsai 2024-06-05 15:34:25 +02:00
parent 21b3e3ea05
commit 899d506faa

View File

@ -80,9 +80,9 @@ public function handle(): void
}
}
} catch (\Throwable $e) {
send_internal_notification("CheckLogDrainContainerJob failed on ({$this->server->id}) with: " . $e->getMessage());
if (!isCloud()) send_internal_notification("CheckLogDrainContainerJob failed on ({$this->server->id}) with: " . $e->getMessage());
ray($e->getMessage());
handleError($e);
return handleError($e);
}
}
}