[chronojump] temporary removed a try/catch on encoder call. REVERT IT!



commit d7fe1c8bd51fdf614f88cb28f41c8c9b7bd70126
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon May 13 16:06:58 2019 +0200

    temporary removed a try/catch on encoder call. REVERT IT!

 src/encoderRProc.cs | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/encoderRProc.cs b/src/encoderRProc.cs
index 3dfc0941..dc0e2714 100644
--- a/src/encoderRProc.cs
+++ b/src/encoderRProc.cs
@@ -176,7 +176,7 @@ public class EncoderRProcCapture : EncoderRProc
                //pinfo.RedirectStandardOutput = true; 
 
 
-               try {
+//             try {
                        p = new Process();
                        p.StartInfo = pinfo;
 
@@ -193,10 +193,11 @@ public class EncoderRProcCapture : EncoderRProc
                        LogB.Debug("D");
                        
                        LogB.Debug(string.Format("this pid id : {0}", p.Id));
-               } catch {
+/*             } catch {
                        Console.WriteLine("catched at runEncoderCaptureNoRDotNetStart");
                        return false;
                }
+               */
                        
                return true;
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]