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

@@ -779,6 +779,10 @@ void Session::exec(int displayOriginX, int displayOriginY)
emit displayLaunchError(e.toQString());
s_ActiveSessionSemaphore.release();
return;
} catch (const QtNetworkReplyException& e) {
emit displayLaunchError(e.toQString());
s_ActiveSessionSemaphore.release();
return;
}
SDL_assert(!SDL_WasInit(SDL_INIT_VIDEO));