s9y/Serendipity — comment on commit 7e0cdf30afcbd2c33ffb5ded8580137d672140bf
File:  line 0
By garvinhicking:

Do you know if thrown exceptions can be overriden with a PHP "display_errors=off" notice?
It's very important that the output is shown to the user; if it can be hidden with PHP settings like display_errors or error_reporting, then we should stick to die().

If exceptions are always revelead, no matter what PHP configuration a user has, then we can keep it and it is a cleaner solution!

HTTP/500 or other headers should not be used. Some browsers display custom 500 error messages and would not pass our output through to a visitor.