Proper exception handling in ResourceLoader. Catch exceptions and output them in...
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 23 Dec 2010 20:14:18 +0000 (20:14 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 23 Dec 2010 20:14:18 +0000 (20:14 +0000)
commit1d0dd870b8376b49bed1140e6260d1d6f99df3cc
tree17ff3f8f277dc0ff42b042136096490a676f2ebf
parentb3496e5fc9eab4ea0666c01a46079d0b11e80b16
Proper exception handling in ResourceLoader. Catch exceptions and output them in comments. Instead of just surrounding everything in a big try { } block, catch module-level exceptions where possible to allow error-free modules loaded in the same request to still be output normally. Modules that don't get output because of an exception are marked as missing in the client-side loader so other modules depending on them won't get loaded either.
includes/resourceloader/ResourceLoader.php