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:
Danny Robson 2016-05-18 10:27:19 +10:00
parent ea0d107859
commit 850fa0470f

View File

@ -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");
}
}