Skip to content

Commit 0c40f32

Browse files
committed
Fix capture from Threads via embedded JSON
1 parent 4e8a6ef commit 0c40f32

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎modules/threads.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ zeeschuimer.register_module(
88
return [];
99
}
1010

11-
let edges = [];
1211
let datas = [];
1312
try {
1413
// if it's JSON already, just parse it
@@ -45,6 +44,8 @@ zeeschuimer.register_module(
4544
json_bit = json_bit.split(']]}}')[0];
4645
}
4746

47+
json_bit = json_bit.split('],["CometResourceScheduler"')[0];
48+
4849

4950
try {
5051
datas.push(JSON.parse(json_bit));

0 commit comments

Comments
 (0)