Skip to content

Commit e1672fa

Browse files
authored
fix(dispatcher): do not fail if credentials are missing (#277)
Signed-off-by: Miguel Martinez Trivino <[email protected]>
1 parent 5c9e84f commit e1672fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/controlplane/internal/dispatcher/dispatcher.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@ func (d *FanOutDispatcher) initDispatchQueue(ctx context.Context, orgID, workflo
172172
creds := &sdk.Credentials{}
173173
if dbIntegration.SecretName != "" {
174174
if err := d.credentialsProvider.ReadCredentials(ctx, dbIntegration.SecretName, creds); err != nil {
175-
return nil, fmt.Errorf("reading credentials: %w", err)
175+
d.log.Warn("msg", "error reading credentials", "err", err.Error())
176+
continue
176177
}
177178
}
178179

0 commit comments

Comments
 (0)