We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81b7403 commit cd18890Copy full SHA for cd18890
1 file changed
perf/runner/src/index.ts
@@ -208,8 +208,12 @@ function runClient(args: ArgsRunBenchmark): ResultValue[] {
208
const combined: ResultValue[] = [];
209
210
for (const line of lines) {
211
- const result = JSON.parse(line) as ResultValue;
212
- combined.push(result);
+ try {
+ const result = JSON.parse(line) as ResultValue;
213
+ combined.push(result);
214
+ } catch (error) {
215
+ console.error(`Could not parse ResultValue from line: ${line}`)
216
+ }
217
}
218
219
return combined;
0 commit comments