dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8c59f8
)
Changing console.log(e) to a throw. console.log makes it go toString() which is prett...
author
Krinkle
<krinkle@users.mediawiki.org>
Wed, 18 May 2011 20:31:28 +0000
(20:31 +0000)
committer
Krinkle
<krinkle@users.mediawiki.org>
Wed, 18 May 2011 20:31:28 +0000
(20:31 +0000)
resources/mediawiki/mediawiki.js
patch
|
blob
|
history
diff --git
a/resources/mediawiki/mediawiki.js
b/resources/mediawiki/mediawiki.js
index
0533baf
..
de7a2cd
100644
(file)
--- a/
resources/mediawiki/mediawiki.js
+++ b/
resources/mediawiki/mediawiki.js
@@
-509,8
+509,8
@@
window.mediaWiki = new ( function( $ ) {
// 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( _fn + 'Exception thrown by ' + module + ': ' + e.message );
- console.log( e );
}
+ throw e;
registry[module].state = 'error';
}
}