Skip to content

Commit

Permalink
disable internal notifications on the cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbacsai committed Jun 5, 2024
1 parent 21b3e3e commit 899d506
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Jobs/CheckLogDrainContainerJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

0 comments on commit 899d506

Please sign in to comment.