Handle errors on status