mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2026-04-13 19:26:07 +00:00
Display a message with the error when a connection stage fails
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user