Skip to content

Commit

Permalink
extra debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
partouf committed Aug 18, 2023
1 parent 1685845 commit deed389
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/appcontainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ void cewrapper::AppContainer::CreateContainer()

if (FAILED(hr))
{
if (config.debugging)
if (config.debugging) {
std::wcerr << "CreateAppContainerProfile or DeriveAppContainerSidFromAppContainerName - Failed with " << hr << "\n";

if (config.extra_debugging)
OutputErrorMessage(GetLastError(), "CreateAppContainerProfile");
}
abort();
}
}
Expand Down

0 comments on commit deed389

Please sign in to comment.