From aafcbb694e703c61354e47789a62e0d78e61ba14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?KB=20J=C3=B8rgensen?= Date: Mon, 21 Nov 2016 15:45:43 +0100 Subject: [PATCH] Log errors from extensions to the browser console. --- editor/svg-editor.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/svg-editor.js b/editor/svg-editor.js index 1a23ff02..9f33a478 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -557,6 +557,8 @@ TODOS s.src = curConfig.extPath + extname; document.querySelector('head').appendChild(s); } + }).fail(function(jqxhr, settings, exception){ + console.log(exception); }); });