repo: janusweb action: commit revision: path_from: revision_from: 6b2dbb485e2ad1d544797d07ffda340d00b6f195: path_to: revision_to:
commit 6b2dbb485e2ad1d544797d07ffda340d00b6f195 Author: James BaicoianuDate: 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
--- 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-----