mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
Always return the status code from the daemon if possible
This commit is contained in:
@@ -23,7 +23,7 @@ class DaemonServerRepository extends DaemonRepository
|
||||
sprintf('/api/servers/%s', $this->server->uuid)
|
||||
);
|
||||
} catch (TransferException $exception) {
|
||||
throw new DaemonConnectionException($exception);
|
||||
throw new DaemonConnectionException($exception, false);
|
||||
}
|
||||
|
||||
return json_decode($response->getBody()->__toString(), true);
|
||||
|
||||
Reference in New Issue
Block a user