debug_posix: downgrade force_console error to WARN
This is unavoidably triggered running under certain debuggers, so it's more useful to downgrade to WARN so as to not interfere with a useful DEBUG_BREAK or LOG_LEVEL setting.
This commit is contained in:
parent
ea0d107859
commit
850fa0470f
@ -120,6 +120,6 @@ void
|
||||
force_console (void)
|
||||
{
|
||||
if (!isatty (fileno (stdout))) {
|
||||
LOG_ERROR ("expected debugging under a console");
|
||||
LOG_WARN ("expected debugging under a console");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user