Try to send 500 Internal error when exception reachs this point