mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Soft error on some malformed PDB cases
This commit is contained in:
parent
cf6ade5e45
commit
1abccdedf8
6 changed files with 48 additions and 7 deletions
|
@ -2313,6 +2313,28 @@ void DbgModule::Fail(const StringImpl& error)
|
|||
mFailed = true;
|
||||
}
|
||||
|
||||
void DbgModule::SoftFail(const StringImpl& error)
|
||||
{
|
||||
if (mFailMsgPtr != NULL)
|
||||
{
|
||||
if (mFailMsgPtr->IsEmpty())
|
||||
*mFailMsgPtr = error;
|
||||
}
|
||||
|
||||
String errorStr = "errorsoft ";
|
||||
if (!mFilePath.IsEmpty())
|
||||
{
|
||||
errorStr += "Error in ";
|
||||
errorStr += mFilePath;
|
||||
errorStr += ": ";
|
||||
}
|
||||
errorStr += error;
|
||||
errorStr += "\n";
|
||||
|
||||
mDebugger->OutputRawMessage(errorStr);
|
||||
mFailed = true;
|
||||
}
|
||||
|
||||
void DbgModule::HardFail(const StringImpl& error)
|
||||
{
|
||||
if (mFailMsgPtr != NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue