Adding bad status code catch