Change: we love unhandled rejection
This commit is contained in:
parent
f47a4351bf
commit
7d95c9940f
|
@ -96,7 +96,7 @@ bgReady.all.then(() => {
|
||||||
const u = new URL(url);
|
const u = new URL(url);
|
||||||
const m = maybeDistro[u.hostname];
|
const m = maybeDistro[u.hostname];
|
||||||
if (!m || m.rx.test(u.pathname)) {
|
if (!m || m.rx.test(u.pathname)) {
|
||||||
openInstallerPage(tabId, url, {}).catch(console.error);
|
openInstallerPage(tabId, url, {});
|
||||||
// Silently suppress navigation.
|
// Silently suppress navigation.
|
||||||
// Don't redirect to the install URL as it'll flash the text!
|
// Don't redirect to the install URL as it'll flash the text!
|
||||||
return {cancel: true};
|
return {cancel: true};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user