mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
Merge pull request #4408 from nextcloud/enh/4406/network-fail
log the whole error message when network creation fails
This commit is contained in:
commit
f9386388d6
1 changed files with 1 additions and 1 deletions
|
|
@ -879,7 +879,7 @@ class DockerActionManager
|
||||||
} catch (RequestException $e) {
|
} catch (RequestException $e) {
|
||||||
// 409 is undocumented and gets thrown if the network already exists.
|
// 409 is undocumented and gets thrown if the network already exists.
|
||||||
if ($e->getCode() !== 409) {
|
if ($e->getCode() !== 409) {
|
||||||
throw $e;
|
throw new \Exception("Could not create the nextcloud-aio network: " . $e->getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue