fix(ssh): remove undefined trackSshRetryEvent() method call (#8927)

This commit is contained in:
Andras Bacsai 2026-03-12 13:08:20 +01:00 committed by GitHub
commit 61eb3e92df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -111,13 +111,6 @@ public function execute_remote_command(...$commands)
$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);