| Index: remoting/host/host_main.cc
|
| diff --git a/remoting/host/host_main.cc b/remoting/host/host_main.cc
|
| index 1687758bf5be1894d039bb01a16ecd04a2b37f09..3591e555e07b7991b79986f26a7c2edd30aa7426 100644
|
| --- a/remoting/host/host_main.cc
|
| +++ b/remoting/host/host_main.cc
|
| @@ -125,7 +125,9 @@ int RunElevated() {
|
| info.nShow = SW_SHOWNORMAL;
|
|
|
| if (!ShellExecuteEx(&info)) {
|
| - return GetLastError();
|
| + DWORD exit_code = GetLastError();
|
| + LOG_GETLASTERROR(ERROR) << "Unable to launch '" << binary.value() << "'";
|
| + return exit_code;
|
| }
|
|
|
| return kSuccessExitCode;
|
|
|