Merge pull request #1854 from hmhealey/plt1608

PLT-1608 Fixed developer errors storing invalid error objects
This commit is contained in:
Joram Wilander
2016-01-11 13:22:43 -05:00
+1 -1
View File
@@ -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();
}
}