mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 00:26:56 +00:00
Display a message with the error when a connection stage fails
This commit is contained in:
parent
5f6120012e
commit
4284394607
@ -11,7 +11,12 @@ void MoonlightInstance::ClStageStarting(int stage) {
|
||||
}
|
||||
|
||||
void MoonlightInstance::ClStageFailed(int stage, long errorCode) {
|
||||
pp::Var response(std::string("Starting ") + std::string(LiGetStageName(stage)) + std::string("failed"));
|
||||
pp::Var response(
|
||||
std::string("DialogMsg: ") +
|
||||
std::string(LiGetStageName(stage)) +
|
||||
std::string(" failed (error ") +
|
||||
std::to_string(errorCode) +
|
||||
std::string(")"));
|
||||
g_Instance->PostMessage(response);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user