Re-add the exception log removed in r88392: unlike Chrome, the current Firebug displa...
authorTim Starling <tstarling@users.mediawiki.org>
Sun, 26 Feb 2012 23:03:45 +0000 (23:03 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Sun, 26 Feb 2012 23:03:45 +0000 (23:03 +0000)
resources/mediawiki/mediawiki.js

index 4aee9eb..509d6ca 100644 (file)
@@ -784,6 +784,7 @@ var mw = ( function ( $, undefined ) {
                                        // and not in debug mode, such as when a symbol that should be global isn't exported
                                        if ( window.console && typeof window.console.log === 'function' ) {
                                                console.log( 'mw.loader::execute> Exception thrown by ' + module + ': ' + e.message );
+                                               console.log( e );
                                        }
                                        registry[module].state = 'error';
                                }