Log error when unable to add to store
This commit is contained in:
parent
64ee43d75b
commit
2b016aecb2
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user