Print HTTP error message, when it occurs