Skip to content

Commit

Permalink
fix: don't double wrap credentials error
Browse files Browse the repository at this point in the history
  • Loading branch information
shikaan committed Aug 4, 2024
1 parent 1d61b05 commit 7b99c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kdbx/kdbx.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func New(filepath, password, keypath string) (*Database, error) {
kdbx := &Database{*file, *gokeepasslib.NewDatabase()}

if err := kdbx.UnlockWithPasswordAndKey(password, keypath); err != nil {
return nil, errors.MakeError(err.Error(), "kdbx")
return nil, err
}

return kdbx, nil
Expand Down

0 comments on commit 7b99c48

Please sign in to comment.