diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2016-01-11 12:35:48 -0500 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2016-01-11 12:35:48 -0500 |
commit | 1e4c52a70eab31ecbe50aa642e7f20a90eb913ac (patch) | |
tree | c049bda8c8a88918399f628cdfc4a74388a858b0 | |
parent | 01d6a48419d351f92c40f8ed9352fa203cc46e4a (diff) | |
download | chat-1e4c52a70eab31ecbe50aa642e7f20a90eb913ac.tar.gz chat-1e4c52a70eab31ecbe50aa642e7f20a90eb913ac.tar.bz2 chat-1e4c52a70eab31ecbe50aa642e7f20a90eb913ac.zip |
Fixed developer errors storing invalid error objects
-rw-r--r-- | web/templates/head.html | 2 |
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(); } } |