We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5434d07 commit 71c1f94Copy full SHA for 71c1f94
src/utils/algorithm.ts
@@ -210,11 +210,11 @@ function getAlgorithmData(logLines: string[]): AlgorithmDataRow[] {
210
continue;
211
}
212
213
- const start = lambdaLogPrefix.length;
+ const start = line.indexOf('[[');
214
const end = line.lastIndexOf(']') + 1;
215
216
try {
217
- const compressedDataRow = JSON.parse(JSON.parse(line.substring(start, end) + '"'));
+ const compressedDataRow = JSON.parse(JSON.parse('"' + line.substring(start, end) + '"'));
218
rows.push(decompressDataRow(compressedDataRow, nextSandboxLogs));
219
} catch (err) {
220
console.log(line);
0 commit comments