Add debug logging

This commit is contained in:
2022-04-23 19:58:00 -07:00
parent 2f51bde597
commit 2def4b13ac
4 changed files with 57 additions and 1 deletions

View File

@@ -73,6 +73,7 @@ func (a *Agent) RequestPasskey(device dbus.ObjectPath) (uint32, *dbus.Error) {
if a.ReqPasskey == nil {
return 0, errAuthFailed
}
log.Debug().Msg("Passkey requested, calling onReqPasskey callback")
passkey, err := a.ReqPasskey()
if err != nil {
return 0, errAuthFailed