Browse Source

add nlog output in the AcquireBSEImage method.

gsp 3 years ago
parent
commit
9681ef958c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      OTSIncAMeasureApp/ServiceCenter/ScanController.cs

+ 1 - 1
OTSIncAMeasureApp/ServiceCenter/ScanController.cs

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