Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
matt2e committed Jul 8, 2024
1 parent ab0a693 commit a0154e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/configuration/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package configuration

import (
"context"
"fmt"

"github.com/TBD54566975/ftl/common/projectconfig"
)
Expand All @@ -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]{},
Expand Down

0 comments on commit a0154e0

Please sign in to comment.