Log error in mailserver (#1644)
This commit is contained in:
parent
019f124f6b
commit
c74c36742e
|
@ -242,7 +242,8 @@ func (s *WMailServer) DeliverMail(peer *whisper.Peer, request *whisper.Envelope)
|
||||||
requestValidationErrorsCounter.Inc(1)
|
requestValidationErrorsCounter.Inc(1)
|
||||||
log.Error("[mailserver:DeliverMail] request failed validaton",
|
log.Error("[mailserver:DeliverMail] request failed validaton",
|
||||||
"peerID", peerID,
|
"peerID", peerID,
|
||||||
"requestID", requestID)
|
"requestID", requestID,
|
||||||
|
"err", err)
|
||||||
s.trySendHistoricMessageErrorResponse(peer, request, err)
|
s.trySendHistoricMessageErrorResponse(peer, request, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue