Retry serverinfo query for adding a PC if the request fails with ServiceUnavailableError. Fixes #88
This commit is contained in:
parent
ba7dd31035
commit
4620fa5001
4 changed files with 69 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue