Adding error handling

Adding error handling around the web request so you can see the error
message