Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

refactor(ssh): remove Sentry retry event tracking from ExecuteRemoteCommand

Andras Bacsaiebfa53d9cad2
diff --git a/app/Traits/ExecuteRemoteCommand.php b/app/Traits/ExecuteRemoteCommand.php
index a60a47b93f..a4ea6abe55 100644
--- a/app/Traits/ExecuteRemoteCommand.php
+++ b/app/Traits/ExecuteRemoteCommand.php
@@ -111,13 +111,6 @@ trait ExecuteRemoteCommand
$attempt++;
$delay = $this->calculateRetryDelay($attempt - 1);
- // Track SSH retry event in Sentry
- $this->trackSshRetryEvent($attempt, $maxRetries, $delay, $errorMessage, [
- 'server' => $this->server->name ?? $this->server->ip ?? 'unknown',
- 'command' => $this->redact_sensitive_info($command),
- 'trait' => 'ExecuteRemoteCommand',
- ]);
-
// Add log entry for the retry
if (isset($this->application_deployment_queue)) {
$this->addRetryLogEntry($attempt, $maxRetries, $delay, $errorMessage);