Add special error text for the -1 launch error code
This commit is contained in:
parent
f2d5cf785e
commit
a7c6095be5
1 changed files with 6 additions and 0 deletions
|
|
@ -312,6 +312,12 @@ NvHTTP::verifyResponseStatus(QString xml)
|
||||||
// 401 is expected for unpaired PCs when we fetch serverinfo over HTTPS
|
// 401 is expected for unpaired PCs when we fetch serverinfo over HTTPS
|
||||||
qWarning() << "Request failed:" << statusCode << statusMessage;
|
qWarning() << "Request failed:" << statusCode << statusMessage;
|
||||||
}
|
}
|
||||||
|
if (statusCode == -1 && statusMessage == "Invalid") {
|
||||||
|
// Special case handling an audio capture error which GFE doesn't
|
||||||
|
// provide any useful status message for.
|
||||||
|
statusCode = 418;
|
||||||
|
statusMessage = "Missing audio capture device. Reinstalling GeForce Experience should resolve this error.";
|
||||||
|
}
|
||||||
throw GfeHttpResponseException(statusCode, statusMessage);
|
throw GfeHttpResponseException(statusCode, statusMessage);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue