fix(ssh): remove undefined trackSshRetryEvent() method call (#8927)
This commit is contained in:
commit
61eb3e92df
1 changed files with 0 additions and 7 deletions
|
|
@ -111,13 +111,6 @@ public function execute_remote_command(...$commands)
|
||||||
$attempt++;
|
$attempt++;
|
||||||
$delay = $this->calculateRetryDelay($attempt - 1);
|
$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
|
// Add log entry for the retry
|
||||||
if (isset($this->application_deployment_queue)) {
|
if (isset($this->application_deployment_queue)) {
|
||||||
$this->addRetryLogEntry($attempt, $maxRetries, $delay, $errorMessage);
|
$this->addRetryLogEntry($attempt, $maxRetries, $delay, $errorMessage);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue