|
@@ -55,7 +55,7 @@ func gameReport(player string, trxId string, blockNum int) {
|
|
|
|
|
|
resp, err := h.PostForm(api, v)
|
|
|
if err != nil {
|
|
|
- logrus.Warnf("bot:%s, trxId:%s, blockNum:%d report request error: %s", player, trxId, blockNum, err.Error())
|
|
|
+ logrus.WithField("error", err.Error()).Errorf("bot:%s, trxId:%s, blockNum:%d report request error", player, trxId, blockNum)
|
|
|
}
|
|
|
defer resp.Body.Close()
|
|
|
|
|
@@ -66,7 +66,7 @@ func gameReport(player string, trxId string, blockNum int) {
|
|
|
if respData.Result == 1 {
|
|
|
logrus.Infof("bot:%s, trxId:%s, blockNum:%d report success", player, trxId, blockNum)
|
|
|
} else {
|
|
|
- logrus.Warnf("bot:%s, trxId:%s, blockNum:%d report error: %s", player, trxId, blockNum, respData.Msg)
|
|
|
+ logrus.WithField("error", respData.Msg).Errorf("bot:%s, trxId:%s, blockNum:%d report report error", player, trxId, blockNum)
|
|
|
}
|
|
|
}
|
|
|
|