chore: merge 3f01dfb from prod
This commit is contained in:
parent
41607ad9f2
commit
6a70130c55
|
|
@ -53,8 +53,8 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserv
|
||||||
if (patchesError != NO_ERROR)
|
if (patchesError != NO_ERROR)
|
||||||
{
|
{
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
std::wstring message = "Patches::Apply returned " + std::to_string(patchesError);
|
std::string message = "Patches::Apply returned " + std::to_string(patchesError);
|
||||||
MessageBoxW(nullptr, message, nullptr, MB_ICONERROR);
|
MessageBoxW(nullptr, std::wstring(message.begin(), message.end()).c_str(), nullptr, MB_ICONERROR);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ExitProcess(EXIT_FAILURE);
|
ExitProcess(EXIT_FAILURE);
|
||||||
|
|
@ -64,8 +64,8 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserv
|
||||||
if (curlError != CURLE_OK)
|
if (curlError != CURLE_OK)
|
||||||
{
|
{
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
std::wstring message = "curl_global_init returned " + std::to_string(curlError);
|
std::string message = "curl_global_init returned " + std::to_string(curlError);
|
||||||
MessageBoxW(nullptr, message, nullptr, MB_ICONERROR);
|
MessageBoxW(nullptr, std::wstring(message.begin(), message.end()).c_str(), nullptr, MB_ICONERROR);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ExitProcess(EXIT_FAILURE);
|
ExitProcess(EXIT_FAILURE);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue