fix: handle security warnings promise when JS is disabled (#26837)
This commit is contained in:
parent
03b43e4d8c
commit
3db4e612f4
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ const warnAboutInsecureCSP = function () {
|
|||
|
||||
console.warn('%cElectron Security Warning (Insecure Content-Security-Policy)',
|
||||
'font-weight: bold;', warning);
|
||||
});
|
||||
}).catch(() => {});
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue