mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-09-21 07:16:09 +08:00
Catch undocumented case when network already exists
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
ee124bf894
commit
9823e6400d
|
@ -436,7 +436,10 @@ class DockerActionManager
|
|||
]
|
||||
);
|
||||
} catch (RequestException $e) {
|
||||
throw $e;
|
||||
// 409 is undocumented and gets thrown if the network already exists.
|
||||
if ($e->getCode() !== 409) {
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
$url = $this->BuildApiUrl(
|
||||
|
|
Loading…
Reference in a new issue