Retry serverinfo query for adding a PC if the request fails with ServiceUnavailableError. Fixes #88

This commit is contained in:
Cameron Gutman
2018-09-29 03:01:49 -07:00
parent ba7dd31035
commit 4620fa5001
4 changed files with 69 additions and 4 deletions

View File

@@ -419,7 +419,7 @@ NvHTTP::openConnection(QUrl baseUrl,
if (logLevel >= NvLogLevel::ERROR) {
qWarning() << command << " request failed with error " << reply->error();
}
GfeHttpResponseException exception(reply->error(), reply->errorString());
QtNetworkReplyException exception(reply->error(), reply->errorString());
delete reply;
throw exception;
}