I did a bunch of testing and know what this bug is caused by.
In the bottom of the close_caption_extraction.js file there is a function
type: "CURRENT_CHAT",
data: { chat, meetId },
});
This sends a message via the chrome extension runtime. This message is supposed to be read by the background.js chrome.runtime.onMessage.addListener(async (request, sender, ... function. However, if the extension popup is not currently focused, this event listener isn't active and that is why the error gets thrown.
I tried a few ways to prevent the message from being sent if the extension is currently open but didn't figure it out exactly. I looked here at the docs and was trying to implement a long lived connection.

I did a bunch of testing and know what this bug is caused by.
In the bottom of the
close_caption_extraction.jsfile there is a functionThis sends a message via the chrome extension runtime. This message is supposed to be read by the
background.jschrome.runtime.onMessage.addListener(async (request, sender, ...function. However, if the extension popup is not currently focused, this event listener isn't active and that is why the error gets thrown.I tried a few ways to prevent the message from being sent if the extension is currently open but didn't figure it out exactly. I looked here at the docs and was trying to implement a long lived connection.