diff --git a/perf/runner/src/index.ts b/perf/runner/src/index.ts index 4e99323f5..4042b5632 100644 --- a/perf/runner/src/index.ts +++ b/perf/runner/src/index.ts @@ -208,8 +208,12 @@ function runClient(args: ArgsRunBenchmark): ResultValue[] { const combined: ResultValue[] = []; for (const line of lines) { - const result = JSON.parse(line) as ResultValue; - combined.push(result); + try { + const result = JSON.parse(line) as ResultValue; + combined.push(result); + } catch (error) { + console.error(`Could not parse ResultValue from line: ${line}`) + } } return combined;