print an explicit error message when url is bad