repo: janusweb
action: commit
revision: 
path_from: 
revision_from: 6b2dbb485e2ad1d544797d07ffda340d00b6f195:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit 6b2dbb485e2ad1d544797d07ffda340d00b6f195
Author: James Baicoianu 
Date:   Sun Feb 16 12:49:42 2020 -0800

    Log exception if UI config fails to load

diff --git a/scripts/ui/main.js b/scripts/ui/main.js
index 89b6d6818dce7d36274980d29cb43730eea1b723..
index ..72ea64dcbf3b1a1f411500f0cf511c14bf0d7ede 100644
--- a/scripts/ui/main.js
+++ b/scripts/ui/main.js
@@ -21,7 +21,7 @@ elation.require(['utils.template', 'elements.elements', 'elements.ui.all', 'elem
         fetch(url)
           .then((r) => r.json())
           .catch((e) => {
-            console.error('Failed to load UI config:', this);
+            console.error('Failed to load UI config:', this, e);
             reject();
           })
           .then((json) => this.processJSON(url, json))

-----END OF PAGE-----