mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-09 09:05:26 +00:00
Don't log DB passwords (#4583)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
This commit is contained in:
parent
8788794748
commit
b4f5d625c6
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ func setupStore(ctx context.Context, c *cli.Command) (store.Store, error) {
|
|||
Config: datasource,
|
||||
XORM: xorm,
|
||||
}
|
||||
log.Trace().Msgf("setup datastore: %#v", *opts)
|
||||
log.Debug().Str("driver", driver).Any("xorm", xorm).Msg("setting up datastore")
|
||||
store, err := datastore.NewEngine(opts)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("could not open datastore: %w", err)
|
||||
|
|
Loading…
Reference in a new issue