|
|
@@ -885,7 +885,7 @@ namespace WCS.Service.Extensions
|
|
|
|
|
|
public static void ExceptionEx(this Exception ex, WCS_DEVICE Entity)
|
|
|
{
|
|
|
- InfoLog.INFO_ERROR($"[{Entity.CODE}]--{ex.Message}");
|
|
|
+ InfoLog.INFO_ERROR($"[{Entity.CODE}]--{ex.Message}--{ex.StackTrace}");
|
|
|
//排除部分频繁触发的异常上报
|
|
|
if (ex.Message.Contains("Collection was modified; enumeration operation may not execute.")) return;
|
|
|
Ltc.Log(ex.GetBaseException().Message);
|