diff options
Diffstat (limited to '')
-rw-r--r-- | toolkit/components/certviewer/content/certviewer.mjs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/components/certviewer/content/certviewer.mjs b/toolkit/components/certviewer/content/certviewer.mjs index 3e48a069f5..ba1c6c9144 100644 --- a/toolkit/components/certviewer/content/certviewer.mjs +++ b/toolkit/components/certviewer/content/certviewer.mjs @@ -10,7 +10,7 @@ import { pemToDER, } from "chrome://global/content/certviewer/certDecoder.mjs"; -document.addEventListener("DOMContentLoaded", async e => { +document.addEventListener("DOMContentLoaded", async () => { let url = new URL(document.URL); let certInfo = url.searchParams.getAll("cert"); if (certInfo.length === 0) { @@ -469,7 +469,7 @@ const buildChain = async chain => { let adjustedCerts = certs.map(cert => adjustCertInformation(cert)); return render(adjustedCerts, false); }) - .catch(err => { + .catch(() => { render(null, true); }); }; |