Remove db datasource from error msg to prevent leaking of secrets (#1528)

pull/1530/head
Max 8 months ago committed by GitHub
parent b7c4ed26fb
commit 67a41dca83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -119,7 +119,7 @@ func New(c *Config) (AuthDB, error) {
db, err := nosql.New(c.Type, c.DataSource, opts...)
if err != nil {
return nil, errors.Wrapf(err, "Error opening database of Type %s with source %s", c.Type, c.DataSource)
return nil, errors.Wrapf(err, "Error opening database of Type %s", c.Type)
}
tables := [][]byte{

Loading…
Cancel
Save