diff options
author | Till <2353100+S7evinK@users.noreply.github.com> | 2023-01-06 15:44:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-06 15:44:10 +0100 |
commit | d579ddb8e7c1a7e118797bcef08113379535e6fb (patch) | |
tree | 383aa921b109c687fcf623a4fd31797e3b7a33b4 /setup | |
parent | 2e1fe589375b650f9b2d9a09e1fcffb3ab6fe5b6 (diff) |
Add simplified helm chart (#2905)helm-dendrite-0.10.8
As discussed yesterday, a simplified version of [my
helm](https://github.com/S7evinK/dendrite-helm) which deploys a monolith
with internal NATS and an optionally enabled PostgreSQL server. If the
PostgreSQL dependency is not enabled, a user specified connection string
is constructed.
Co-authored-by: kegsay <kegan@matrix.org>
Diffstat (limited to 'setup')
-rw-r--r-- | setup/config/config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setup/config/config.go b/setup/config/config.go index 6523a245..41d2b667 100644 --- a/setup/config/config.go +++ b/setup/config/config.go @@ -228,7 +228,7 @@ func loadConfig( privateKeyPath := absPath(basePath, c.Global.PrivateKeyPath) if c.Global.KeyID, c.Global.PrivateKey, err = LoadMatrixKey(privateKeyPath, readFile); err != nil { - return nil, err + return nil, fmt.Errorf("failed to load private_key: %w", err) } for _, v := range c.Global.VirtualHosts { @@ -242,7 +242,7 @@ func loadConfig( } privateKeyPath := absPath(basePath, v.PrivateKeyPath) if v.KeyID, v.PrivateKey, err = LoadMatrixKey(privateKeyPath, readFile); err != nil { - return nil, err + return nil, fmt.Errorf("failed to load private_key for virtualhost %s: %w", v.ServerName, err) } } |