Log failing wallet client

This commit is contained in:
jholdstock 2020-06-30 09:43:44 +01:00 committed by David Hill
parent 27e49e5e69
commit 08be1fa55a

View File

@ -65,7 +65,8 @@ func setVoteChoices(c *gin.Context) {
if err != nil {
// If this fails, we still want to try the other wallets, so
// don't return an error response, just log an error.
log.Errorf("%s: dcrwallet.SetVoteChoice failed (ticketHash=%s): %v", funcName, ticket.Hash, err)
log.Errorf("%s: dcrwallet.SetVoteChoice failed (wallet=%s, ticketHash=%s): %v",
funcName, walletClient.String(), ticket.Hash, err)
}
}
}