- marked a few Printf calls in critical error paths as PRINT_NONOTIFY.

This commit is contained in:
Christoph Oelckers 2022-10-20 23:55:29 +02:00
commit ef887403cf
5 changed files with 7 additions and 8 deletions

View file

@ -1231,14 +1231,14 @@ void D_DoomLoop ()
{
if (error.GetMessage ())
{
Printf (PRINT_BOLD, "\n%s\n", error.GetMessage());
Printf (PRINT_NONOTIFY | PRINT_BOLD, "\n%s\n", error.GetMessage());
}
D_ErrorCleanup ();
}
catch (CVMAbortException &error)
{
error.MaybePrintMessage();
Printf("%s", error.stacktrace.GetChars());
Printf(PRINT_NONOTIFY, "%s", error.stacktrace.GetChars());
D_ErrorCleanup();
}
}