From da226821ef9056882291355bea83266e3dceff5d Mon Sep 17 00:00:00 2001 From: Alex Chronopoulos Date: Wed, 11 Sep 2019 22:40:48 +0000 Subject: [PATCH] Bug 1579374 - Show information when mediacapabilities folder doesn't exist in the profile yet. r=chunmin When the mediacapabilities folder does not exist catch the exception and print the name of the decoder. Differential Revision: https://phabricator.services.mozilla.com/D45352 --HG-- extra : moz-landing-system : lando --- toolkit/content/aboutSupport.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/toolkit/content/aboutSupport.js b/toolkit/content/aboutSupport.js index 3beddf319365..0b93bfc46959 100644 --- a/toolkit/content/aboutSupport.js +++ b/toolkit/content/aboutSupport.js @@ -889,6 +889,9 @@ var snapshotFormatters = { } $("enumerate-database-result").textContent += logs.join("\n") + "\n"; + }) + .catch(err => { + $("enumerate-database-result").textContent += `${name}:\n`; }); }