浏览代码

add nlog output in the AcquireBSEImage method.

gsp 3 年之前
父节点
当前提交
9681ef958c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      OTSIncAMeasureApp/ServiceCenter/ScanController.cs

+ 1 - 1
OTSIncAMeasureApp/ServiceCenter/ScanController.cs

@@ -278,7 +278,7 @@ namespace OTSModelSharp.ServiceInterface
                 }
                 catch (Exception ex)
                 {
-                    throw ex;
+                    NLog.LogManager.GetCurrentClassLogger().Error(ex.ToString());
                 }
 
                 return GetImgCount;