No new error if already failing

This commit is contained in:
Miodrag Milanovic 2020-02-17 12:54:36 +01:00
parent 6b396e6455
commit be977cf7eb
1 changed files with 2 additions and 1 deletions

View File

@ -331,7 +331,8 @@ static void logv_error_with_prefix(const char *prefix,
f = stderr;
log_last_error = vstringf(format, ap);
log("%s%s", prefix, log_last_error.c_str());
if (check_expected_logs)
log("%s%s", prefix, log_last_error.c_str());
log_flush();
log_make_debug = bak_log_make_debug;