We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84a11fa commit 70c9ec8Copy full SHA for 70c9ec8
scripts/ssh.php
@@ -161,7 +161,7 @@ public function exec(string $command): string {
161
try {
162
return $this->connection->exec($command);
163
} catch (ErrorException $e) {
164
- throw new SSHException("Failed to execute the command: $command", null, $e);
+ throw new SSHException("Failed to execute the command: $command", 0, $e);
165
}
166
167
0 commit comments