Return 500 on unexpected exceptions