mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:13:06 +00:00
[ROSAUTOTEST] "Enforce" ending '\n' on C___Exception messages (#1533)
This commit is contained in:
parent
853f7d84a0
commit
f79ca12eda
5 changed files with 11 additions and 9 deletions
|
@ -89,14 +89,16 @@ wmain(int argc, wchar_t* argv[])
|
|||
}
|
||||
catch(CSimpleException& e)
|
||||
{
|
||||
// e.GetMessage() must include ending '\n'.
|
||||
StringOut(e.GetMessage());
|
||||
}
|
||||
catch(CFatalException& e)
|
||||
{
|
||||
stringstream ss;
|
||||
|
||||
// e.GetMessage() must include ending '\n'.
|
||||
ss << "An exception occured in rosautotest." << endl
|
||||
<< "Message: " << e.GetMessage() << endl
|
||||
<< "Message: " << e.GetMessage()
|
||||
<< "File: " << e.GetFile() << endl
|
||||
<< "Line: " << e.GetLine() << endl
|
||||
<< "Last Win32 Error: " << GetLastError() << endl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue