Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 19c2a5c4

Přidáno uživatelem Pultak před asi 2 roky(ů)

re #9568 Fixed a typo in the config file

Zobrazit rozdíly:

ld_client/LDClient/detection/InfoFetcher.cs
1 1
using System.Diagnostics;
2
using LDClient.utils.loggers;
2 3

  
3 4
namespace LDClient.detection {
4 5

  
......
71 72
                t32RemProcess.StartInfo.Arguments = argument;
72 73
                try {
73 74
                    t32RemProcess.Start();
74
                    t32RemProcess.WaitForExit(waitTimeoutMs);
75
                    if (!t32RemProcess.WaitForExit(waitTimeoutMs)) {
76
                        Program.DefaultLogger.Error($"Execution has not terminated within a predefined timeout of {waitTimeoutMs} ms");
77
                        return false;
78
                    }
75 79
                    if (t32RemProcess.ExitCode != successExitCode) {
80
                        Program.DefaultLogger.Error($"Execution terminated with an error code of {t32RemProcess.ExitCode}");
76 81
                        return false;
77 82
                    }
78 83
                } catch (Exception exception) {

Také k dispozici: Unified diff