Merge pull request #4408 from nextcloud/enh/4406/network-fail

log the whole error message when network creation fails
This commit is contained in:
Simon L
2024-03-21 09:13:07 +01:00
committed by GitHub

View File

@@ -879,7 +879,7 @@ class DockerActionManager
} catch (RequestException $e) {
// 409 is undocumented and gets thrown if the network already exists.
if ($e->getCode() !== 409) {
throw $e;
throw new \Exception("Could not create the nextcloud-aio network: " . $e->getMessage());
}
}