Skip to content

Commit e3c33a9

Browse files
zizzencscyrilgdn
andauthored
Update postgresql/provider.go
More descriptive wrapper for the error message. Co-authored-by: Cyril Gaudin <[email protected]>
1 parent d7992e1 commit e3c33a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postgresql/provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ func getRDSAuthToken(region string, profile string, role string, username string
277277
),
278278
)
279279
if err != nil {
280-
return "", err
280+
return "", fmt.Errorf("could not load AWS default config", err)
281281
}
282282
}
283283

0 commit comments

Comments
 (0)