diff --git a/honeypot/server.go b/honeypot/server.go index e20fe03..ee4b430 100644 --- a/honeypot/server.go +++ b/honeypot/server.go @@ -97,7 +97,7 @@ func (hs *HoneypotServer) passwordHandler(ctx ssh.Context, password string) bool "password", la.Password) if err := hs.attemptStore.AddAttempt(&la); err != nil { - hs.Logger.Warnf("Error adding attempt to store") + hs.Logger.Warnw("Error adding attempt to store", "error", err) } for _, cFunc := range hs.attemptsCallbacks {