- change Warnf to Infof in WaybillStatusFailed.
This commit is contained in:
@@ -316,7 +316,8 @@ func (s *DefScheduler) OnWaybillStatusChanged(bill *model.Waybill, isPending boo
|
||||
s.updateOrderByBill(order, bill, false)
|
||||
}
|
||||
} else {
|
||||
globals.SugarLogger.Warnf("OnWaybillStatusChanged Failed bill:%v shouldn't got here, order details:%v", bill, order)
|
||||
// 创建运单失败时,可能到这里来(比如:818874313000121),改Warnf为Infof
|
||||
globals.SugarLogger.Infof("OnWaybillStatusChanged Failed bill:%v shouldn't got here, order details:%v", bill, order)
|
||||
}
|
||||
case model.WaybillStatusCanceled:
|
||||
s.removeWaybillFromMap(savedOrderInfo, bill)
|
||||
|
||||
Reference in New Issue
Block a user