Set the status code to 500 on exceptions.
authorPlatonides <platonides@gmail.com>
Thu, 31 May 2012 17:15:33 +0000 (19:15 +0200)
committerPlatonides <platonides@gmail.com>
Thu, 31 May 2012 17:15:33 +0000 (19:15 +0200)
commit3e59f15bb0681ce951d40622d0fe73291e42ffbc
treecac6a63d2dd00c356dfb3a46f48023387eb9d7bd
parentc6f24bf856e767c5a745d5f72dbb23c72d29598c
Set the status code to 500 on exceptions.

Should fix bug 37140, scripts served through
action=raw failing due to being served a html
error page.
As well as such as giving a better behavior
such as for search engines.
This could affect IE users by showing them
smart errors instead of the content, though.

Change-Id: I5d680fe10db6d61d91e898323bd5fb755a07135d
includes/Exception.php