mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-08 16:56:03 +00:00
Retry serverinfo query for adding a PC if the request fails with ServiceUnavailableError. Fixes #88
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user