Added error alert on http error