Fix URLVisitor error message

This commit is contained in:
Cesar Wong 2016-05-26 09:20:42 -04:00
parent 9aace460a7
commit 0800ed834c

View File

@ -259,7 +259,7 @@ func readHttpWithRetries(get httpget, duration time.Duration, u string, attempts
// Error - Set the error condition from the StatusCode
if statusCode != 200 {
err = fmt.Errorf("unable to read URL %q, server reported %d %s", u, statusCode, status)
err = fmt.Errorf("unable to read URL %q, server reported %s, status code=%d", u, status, statusCode)
}
if statusCode >= 500 && statusCode < 600 {