From cbd42f4a5882266ebf380fefb2b0c3669a93f51e Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 2 Jul 2021 01:18:57 -0500 Subject: [PATCH] Log launch, resume, and quit responses --- app/backend/nvhttp.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/backend/nvhttp.cpp b/app/backend/nvhttp.cpp index de0e3c51..9604029c 100644 --- a/app/backend/nvhttp.cpp +++ b/app/backend/nvhttp.cpp @@ -181,6 +181,8 @@ NvHTTP::launchApp(int appId, "&gcmap="+QString::number(gamepadMask), LAUNCH_TIMEOUT_MS); + qInfo() << "Launch response:" << response; + // Throws if the request failed verifyResponseStatus(response); } @@ -201,6 +203,8 @@ NvHTTP::resumeApp(PSTREAM_CONFIGURATION streamConfig) "&surroundAudioInfo="+QString::number(SURROUNDAUDIOINFO_FROM_AUDIO_CONFIGURATION(streamConfig->audioConfiguration)), RESUME_TIMEOUT_MS); + qInfo() << "Resume response:" << response; + // Throws if the request failed verifyResponseStatus(response); } @@ -214,6 +218,8 @@ NvHTTP::quitApp() nullptr, QUIT_TIMEOUT_MS); + qInfo() << "Quit response:" << response; + // Throws if the request failed verifyResponseStatus(response);