diff --git a/Workflow/info.plist b/Workflow/info.plist index fd7e46c..29a60f3 100644 --- a/Workflow/info.plist +++ b/Workflow/info.plist @@ -239,7 +239,7 @@ task.executableURL = $.NSURL.alloc.initFileURLWithPath("/usr/bin/networkQuality" task.standardOutput = stdout task.launchAndReturnError(false) -const dataOut = stdout.fileHandleForReading.readDataToEndOfFile +const dataOut = stdout.fileHandleForReading.readDataToEndOfFileAndReturnError(false) const stringOut = $.NSString.alloc.initWithDataEncoding(dataOut, $.NSUTF8StringEncoding).js // Prepare JSON