Log mailserver error

while debugging I noticed we don't log `err` if the query fails.
This commit is contained in:
Andrea Maria Piana 2020-12-07 09:20:57 +01:00
parent 1237cc9ac6
commit 0b2bd2863b
2 changed files with 2 additions and 1 deletions

View File

@ -1 +1 @@
0.64.3
0.64.4

View File

@ -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
}