diff --git a/devtools/client/styleeditor/StyleEditorUI.jsm b/devtools/client/styleeditor/StyleEditorUI.jsm index e97e678a3be5..0161012bbb9c 100644 --- a/devtools/client/styleeditor/StyleEditorUI.jsm +++ b/devtools/client/styleeditor/StyleEditorUI.jsm @@ -264,6 +264,7 @@ StyleEditorUI.prototype = { try { yield this._addStyleSheet(sheet); } catch (e) { + console.error(e); this.emit("error", { key: LOAD_ERROR }); } } diff --git a/devtools/client/styleeditor/StyleSheetEditor.jsm b/devtools/client/styleeditor/StyleSheetEditor.jsm index 4f4554016795..49b8ba88fab4 100644 --- a/devtools/client/styleeditor/StyleSheetEditor.jsm +++ b/devtools/client/styleeditor/StyleSheetEditor.jsm @@ -297,6 +297,7 @@ StyleSheetEditor.prototype = { ", the editor was destroyed"); console.error(e); } else { + console.error(e); this.emit("error", { key: LOAD_ERROR, append: this.styleSheet.href }); throw e; }