优化日志

This commit is contained in:
hahwu 2025-01-13 15:14:21 +08:00
parent 2b6b25bf80
commit 6c60f90518

View File

@ -106,7 +106,7 @@ func (cb *ChessBorad) ComposeChess(id int) (int, error) {
}
if count < 2 {
return 0, errors.New("次数不足")
return 0, errors.New("次数不足" + fmt.Sprintf("Id: %d", count))
}
ChessType := mergeDataCfg.GetTypeById(id)
if ChessType == "Emitter" {