mw.loader: Remove "job.error" from message for job.ready throwing
authorMatthew Flaschen <mflaschen@wikimedia.org>
Fri, 4 Jul 2014 04:30:04 +0000 (00:30 -0400)
committerKrinkle <krinklemail@gmail.com>
Mon, 7 Jul 2014 21:34:59 +0000 (21:34 +0000)
This catch block is both for exceptions thrown by 'job.ready' and
by 'job.error'.

Change-Id: Ia3aadb26824982a652663a7ebc3ba11824dd76d3

resources/src/mediawiki/mediawiki.js

index c1f1844..12888bd 100644 (file)
                                                } catch ( e ) {
                                                        // A user-defined callback raised an exception.
                                                        // Swallow it to protect our state machine!
-                                                       log( 'Exception thrown by job.error', e );
+                                                       log( 'Exception thrown by user callback', e );
                                                }
                                        }
                                }