mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-10-09 15:06:52 +08:00
log the whole error message when network creation fails
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
172330b938
commit
a00310f4e4
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
Reference in a new issue