do not display STATUS_OBJECT_NAME_NOT_FOUND code

This commit is contained in:
henrypp committed 2022-01-25 13:00:52 +06:00
1 parent f2089154ce
commit c00a7ef398
1 file changed
+6 -3
+6 -3
View File
@@ -1435,10 +1435,13 @@ CleanupExit:
if (status != STATUS_SUCCESS)
{
if (hwnd)
_r_show_errormessage (hwnd, L"Profile loading!", status, NULL);
if (status != STATUS_OBJECT_NAME_NOT_FOUND)
{
if (hwnd)
_r_show_errormessage (hwnd, L"Profile loading!", status, NULL);
_r_log (LOG_LEVEL_ERROR, NULL, L"_app_profile_load", status, NULL);
_r_log (LOG_LEVEL_ERROR, NULL, L"_app_profile_load", status, NULL);
}
}
else
{