Emit 500 instead of 404 during backend error.