From a0154e0a3daf6d928a3e1f94322f8140db41db1c Mon Sep 17 00:00:00 2001 From: Matt Toohey Date: Thu, 4 Jul 2024 09:56:56 +1000 Subject: [PATCH] fix error --- common/configuration/defaults.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/configuration/defaults.go b/common/configuration/defaults.go index cf700821ad..363f1d9a36 100644 --- a/common/configuration/defaults.go +++ b/common/configuration/defaults.go @@ -2,6 +2,7 @@ package configuration import ( "context" + "fmt" "github.com/TBD54566975/ftl/common/projectconfig" ) @@ -18,7 +19,7 @@ func NewConfigurationManager(ctx context.Context, router Router[Configuration]) func NewSecretsManager(ctx context.Context, router Router[Secrets], opVault string, config string) (*Manager[Secrets], error) { projectConfig, err := projectconfig.Load(ctx, config) if err != nil { - return nil, err + return nil, fmt.Errorf("could not load project config for secrets manager: %w", err) } return New(ctx, router, []Provider[Secrets]{ InlineProvider[Secrets]{},