Catch undocumented case when network already exists

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2022-01-21 14:25:29 +01:00
parent ee124bf894
commit 9823e6400d

View file

@ -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(