Skip to content

Commit 903124c

Browse files
DrusTheAxeSantosh Chintalapati
authored andcommitted
UrfwInitialize() didn't report if ExtRoLoadCatalog() errored and returned a failing HRESULT (only trapped thrown exceptions, but the implementation does both) (#2498)
1 parent 309f7da commit 903124c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dev/UndockedRegFreeWinRT/urfw.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ HRESULT UrfwInitialize() noexcept
413413
DetourAttach(&(PVOID&)TrueRoResolveNamespace, RoResolveNamespaceDetour);
414414
try
415415
{
416-
ExtRoLoadCatalog();
416+
RETURN_IF_FAILED(ExtRoLoadCatalog());
417417
}
418418
catch (...)
419419
{

0 commit comments

Comments
 (0)