Do all exceptions here

This commit is contained in:
Lance Pioch 2024-03-23 08:07:21 -04:00
parent 796a236ef4
commit 7e5d21a889

View File

@ -387,7 +387,7 @@ class Server extends Model
return Http::daemon($this->node)->post("/api/servers/{$this->uuid}/commands", [
'commands' => is_array($command) ? $command : [$command],
])->toPsrResponse();
} catch (TransferException $exception) {
} catch (GuzzleException $exception) {
throw new DaemonConnectionException($exception);
}
}