Skip to content

Commit

Permalink
Fix(BrowserController): Don't spam "Receiving end doesn't exist" errors
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed May 21, 2024
1 parent 441560f commit 3174cbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/browser/BrowserController.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export default class BrowserController {
clientList.forEach(client => client.postMessage({ type: 'status:update', params: [] }))
} else {
try {
browser.runtime.sendMessage({ type: 'status:update', params: [] })
await browser.runtime.sendMessage({ type: 'status:update', params: [] })
} catch (e) {
console.warning(e)
}
Expand Down

0 comments on commit 3174cbb

Please sign in to comment.