Commit dbc386c1 by lcx

Merge tag '数据提取异常停止' into develop

parents 273b8d88 5274be2e
...@@ -231,7 +231,8 @@ private List<ex_result> ExtractModuleData(per_allot allot, string groupName, boo ...@@ -231,7 +231,8 @@ private List<ex_result> ExtractModuleData(per_allot allot, string groupName, boo
} }
catch (Exception ex) catch (Exception ex)
{ {
logger.LogError($"typeId: {typeId}提取数据异常{ex}{Infrastructure.JsonHelper.Serialize(script)}"); logger.LogError($"typeId: {typeId}提取数据异常{ex}{JsonHelper.Serialize(script)}");
throw;
} }
} }
} }
...@@ -301,7 +302,8 @@ private List<ex_result> ExtractItemData(per_allot allot, string groupName, bool ...@@ -301,7 +302,8 @@ private List<ex_result> ExtractItemData(per_allot allot, string groupName, bool
} }
catch (Exception ex) catch (Exception ex)
{ {
logger.LogError($"typeId: {typeId}提取数据异常{ex}{Infrastructure.JsonHelper.Serialize(script)}"); logger.LogError($"typeId: {typeId}提取数据异常{ex}{JsonHelper.Serialize(script)}");
throw;
} }
} }
logService.ReturnTheLog(allot.ID, groupName, 2, "提取数据", $"项目“{string.Join("、", thisItems.Select(t => t.ItemName))}”的数据已完成提取", 1, isSingle); logService.ReturnTheLog(allot.ID, groupName, 2, "提取数据", $"项目“{string.Join("、", thisItems.Select(t => t.ItemName))}”的数据已完成提取", 1, isSingle);
...@@ -369,7 +371,8 @@ private List<ex_result> ExtractSpecialData(per_allot allot, string groupName, bo ...@@ -369,7 +371,8 @@ private List<ex_result> ExtractSpecialData(per_allot allot, string groupName, bo
} }
catch (Exception ex) catch (Exception ex)
{ {
logger.LogError($"typeId: {typeId}提取数据异常{ex}{Infrastructure.JsonHelper.Serialize(script)}"); logger.LogError($"typeId: {typeId}提取数据异常{ex}{JsonHelper.Serialize(script)}");
throw;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment