Log mailserver error
while debugging I noticed we don't log `err` if the query fails.
This commit is contained in:
parent
1237cc9ac6
commit
0b2bd2863b
|
@ -746,6 +746,7 @@ func (s *mailServer) DeliverMail(peerID, reqID types.Hash, req MessagesRequestPa
|
|||
"[mailserver:DeliverMail] request failed",
|
||||
"peerID", peerID.String(),
|
||||
"requestID", reqID.String(),
|
||||
"err", err,
|
||||
)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue