Bug 1369104 - Fix eslint error on highlighters-overlay.js. r=pbro
authorAlexandre Poirot <poirot.alex@gmail.com>
Wed, 31 May 2017 18:38:04 +0200
changeset 361818 73465281b97cb8ac0757eb2bab86a744bce637de
parent 361817 a2b294e575591bf3a25065b2c69c4888c4b6b00d
child 361819 05affb78c0787d68f21eaa6a6e11f018307b26b5
push id31945
push userryanvm@gmail.com
push dateThu, 01 Jun 2017 20:42:17 +0000
treeherdermozilla-central@15e32469eb04 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspbro
bugs1369104
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1369104 - Fix eslint error on highlighters-overlay.js. r=pbro MozReview-Commit-ID: 6lhfILmmEGC
devtools/client/inspector/shared/highlighters-overlay.js
--- a/devtools/client/inspector/shared/highlighters-overlay.js
+++ b/devtools/client/inspector/shared/highlighters-overlay.js
@@ -272,17 +272,19 @@ HighlightersOverlay.prototype = {
     if (this.highlighters[type]) {
       return this.highlighters[type];
     }
 
     let highlighter;
 
     try {
       highlighter = yield utils.getHighlighterByType(type);
-    } catch (e) {}
+    } catch (e) {
+      // Ignore any error
+    }
 
     if (!highlighter) {
       return null;
     }
 
     this.highlighters[type] = highlighter;
     return highlighter;
   }),