Skip to content

Commit 1b09ed7

Browse files
committed
Remove noisy errors
1 parent 801880f commit 1b09ed7

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

extension/content.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -351,9 +351,6 @@ function transcriptMutationCallback(mutationsList) {
351351
}
352352
}
353353
}
354-
else {
355-
throw new Error("Person node not found within transcript DOM")
356-
}
357354
}
358355
// No people found in transcript DOM
359356
else {
@@ -368,10 +365,6 @@ function transcriptMutationCallback(mutationsList) {
368365
transcriptTextBuffer = ""
369366
}
370367
}
371-
else {
372-
throw new Error("Transcript main node not found in DOM")
373-
// TODO: Should data be pushed to buffer?
374-
}
375368

376369
// Logs to indicate that the extension is working
377370
if (transcriptTextBuffer.length > 125) {
@@ -423,12 +416,6 @@ function chatMessagesMutationCallback(mutationsList) {
423416
// Lot of mutations fire for each message, pick them only once
424417
pushUniqueChatBlock(chatMessageBlock)
425418
}
426-
else {
427-
throw new Error("Person node not found in chat messages DOM")
428-
}
429-
}
430-
else {
431-
throw new Error("Chat messages element not found in DOM")
432419
}
433420
}
434421
catch (err) {

0 commit comments

Comments
 (0)