summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2016-01-11 12:35:48 -0500
committerhmhealey <harrisonmhealey@gmail.com>2016-01-11 12:35:48 -0500
commit1e4c52a70eab31ecbe50aa642e7f20a90eb913ac (patch)
treec049bda8c8a88918399f628cdfc4a74388a858b0 /web
parent01d6a48419d351f92c40f8ed9352fa203cc46e4a (diff)
downloadchat-1e4c52a70eab31ecbe50aa642e7f20a90eb913ac.tar.gz
chat-1e4c52a70eab31ecbe50aa642e7f20a90eb913ac.tar.bz2
chat-1e4c52a70eab31ecbe50aa642e7f20a90eb913ac.zip
Fixed developer errors storing invalid error objects
Diffstat (limited to 'web')
-rw-r--r--web/templates/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/templates/head.html b/web/templates/head.html
index 70c94e8ff..08d8726ea 100644
--- a/web/templates/head.html
+++ b/web/templates/head.html
@@ -98,7 +98,7 @@
});
if (window.mm_config.EnableDeveloper === 'true') {
- window.ErrorStore.storeLastError('DEVELOPER MODE: A javascript error has occured. Please use the javascript console to capture and report the error (row: ' + line + ' col: ' + column + ').');
+ window.ErrorStore.storeLastError({message: 'DEVELOPER MODE: A javascript error has occured. Please use the javascript console to capture and report the error (row: ' + line + ' col: ' + column + ').'});
window.ErrorStore.emitChange();
}
}