Welcome Guest, Not a member yet? Register   Sign In
Automatically return 500 on unhandled exception
#1

[eluser]Unknown[/eluser]
When unhandled exceptions in my code occur, Code Igniter returns HTTP status 200 in AJAX calls. I really need it to return status 500.

Is there a config setting somewhere to get this behavior?
#2

[eluser]InsiteFX[/eluser]
No you would need to extend the CodeIgniter Exceptions class.

InsiteFX




Theme © iAndrew 2016 - Forum software by © MyBB