[BugReportTool] Make failures to copying LocalRow logs and deleting tmp folder non-fatal (#20311)

This commit is contained in:
Andrey Nekrasov
2022-09-07 17:32:34 +03:00
committed by GitHub
parent 2dae107977
commit e33e23909f

View File

@@ -307,7 +307,6 @@ int wmain(int argc, wchar_t* argv[], wchar_t*)
if (!DeleteFolder(reportDir)) if (!DeleteFolder(reportDir))
{ {
printf("Failed to delete temp folder\n"); printf("Failed to delete temp folder\n");
return 1;
} }
try try
@@ -332,7 +331,6 @@ int wmain(int argc, wchar_t* argv[], wchar_t*)
catch (...) catch (...)
{ {
printf("Failed to copy logs saved in LocalLow\n"); printf("Failed to copy logs saved in LocalLow\n");
return 1;
} }
#ifndef _DEBUG #ifndef _DEBUG