(#19162) Report on the localized last error code

If we fail to wait on the puppet process, we will now include the localized
GetLastError message, which gives more insight into why it failed.