소스 검색

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;