https://bugzilla.wikimedia.org/show_bug.cgi?id=55989
--- Comment #1 from Bartosz Dziewoński <[email protected]> --- Here's the relavant part from the handlePending() function in mediawiki.js. `job.ready` is the ready callback passed to mw.loader.using(). try { if ( hasErrors ) { throw new Error( 'Module ' + module + ' failed.'); } else { if ( $.isFunction( job.ready ) ) { job.ready(); } } } catch ( e ) { if ( $.isFunction( job.error ) ) { try { job.error( e, [module] ); } catch ( ex ) { // A user-defined operation raised an exception. Swallow to protect // our state machine! log( 'Exception thrown by job.error()', ex ); } } } So, any errors raised by the 'ready' callback will be passed to the 'error' callback – but if it's not defined, they will be silently swallowed. They should probably be passed through to log() as well, which will dump the error and the traceback to the browser console. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
