Added error checking to satisfy the tests that I forgot to run for the last commit #devopsbitchez