Commit 9cc9feba authored by Romain Casati's avatar Romain Casati
Browse files

Ignoring requirejs errors.

parent e25df5b3
Pipeline #358024 passed with stages
in 3 minutes and 16 seconds
......@@ -51,6 +51,8 @@ window.basthonGUI = (function () {
*/
that.connectGlobalErrors = function () {
function onerror(error) {
// ignoring requirejs error
if( error.filename && error.filename.split('/').pop() === 'require.js' ) return ;
const message = error.message || error.reason.message || error;
that.dialog.modal({
notebook: that.notebook,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment