mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
[win] online-installer: prevent recursive calls in case of error
This commit is contained in:
committed by
maxkadushkin
parent
3a8fc015e4
commit
f9e3648076
@ -27,7 +27,7 @@ wstring StrToWStr(const char* str)
|
||||
if (outSize > 0)
|
||||
wstr = pDestBuf;
|
||||
else
|
||||
NS_Logger::WriteLog(DEFAULT_ERROR_MESSAGE);
|
||||
NS_Logger::WriteLog(_T("An error occurred: ") + wstring(_T(__FUNCTION__)));
|
||||
delete[] pDestBuf;
|
||||
}
|
||||
return wstr;
|
||||
|
||||
Reference in New Issue
Block a user