Преглед изворни кода

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;