Use a common function to abort for debugging purposes
This commit is contained in:
parent
53b2217a34
commit
83e3ea5aa7
5 changed files with 18 additions and 4 deletions
|
|
@ -489,7 +489,7 @@ namespace platf {
|
|||
auto winerror = GetLastError();
|
||||
// Log the failure of reverting to self and its error code
|
||||
BOOST_LOG(fatal) << "Failed to revert to self after impersonation: "sv << winerror;
|
||||
std::abort();
|
||||
DebugBreak();
|
||||
}
|
||||
|
||||
return ec;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue