Merge branch 'no-url-logging' of github.com:howard-stearns/hifi into no-url-logging

This commit is contained in:
Howard Stearns 2018-11-13 09:55:09 -08:00
commit fc62700587

View file

@ -699,7 +699,6 @@ void Resource::makeRequest() {
_request->setByteRange(_requestByteRange);
_request->setFailOnRedirect(_shouldFailOnRedirect);
qCDebug(resourceLog).noquote() << "Starting request for:" << _url.toDisplayString();
emit loading();
connect(_request, &ResourceRequest::progress, this, &Resource::onProgress);
@ -765,7 +764,7 @@ bool Resource::handleFailedRequest(ResourceRequest::Result result) {
bool willRetry = false;
switch (result) {
case ResourceRequest::Result::Timeout: {
qCDebug(networking) << "Timed out loading" << _url.fileName() << "received" << _bytesReceived << "total" << _bytesTotal;
qCDebug(networking) << "Timed out loading: received " << _bytesReceived << " total " << _bytesTotal;
// Fall through to other cases
}
// FALLTHRU