fix abort
Some checks failed
linux-mips-gcc / linux-gcc-mipsel (Debug) (push) Waiting to run
linux-mips-gcc / linux-gcc-mipsel (Release) (push) Waiting to run
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Waiting to run
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Waiting to run
linux-riscv64-gcc / linux-gcc-riscv64 (Debug) (push) Waiting to run
linux-riscv64-gcc / linux-gcc-riscv64 (Release) (push) Waiting to run
linux-x64-clang / linux-clang (Debug) (push) Waiting to run
linux-x64-clang / linux-clang (Release) (push) Waiting to run
linux-x64-gcc / linux-gcc (Debug) (push) Waiting to run
linux-x64-gcc / linux-gcc (Release) (push) Waiting to run
linux-x86-gcc / linux-gcc (Debug) (push) Waiting to run
linux-x86-gcc / linux-gcc (Release) (push) Waiting to run
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Debug) (push) Waiting to run
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Release) (push) Waiting to run
linux-arm-gcc / linux-gcc-arm (Debug) (push) Failing after 14m53s
linux-arm-gcc / linux-gcc-armhf (Debug) (push) Failing after 11m3s
linux-arm-gcc / linux-gcc-arm (Release) (push) Has been cancelled
linux-arm-gcc / linux-gcc-armhf (Release) (push) Has been cancelled

This commit is contained in:
tqcq 2024-12-18 23:20:45 +08:00
parent dbe3267f99
commit baf7f2bb02

View File

@ -498,7 +498,7 @@ LogToSinks(LogSeverity severity,
sink->Send(severity, full_filename, base_filename, line, time, message, message_len);
} catch (const std::exception &e) {
fprintf(stderr, "\nLogSink[name=%s], reason=%s\n", sink->name(), e.what());
assert(false);
std::abort();
}
}
}
@ -513,7 +513,7 @@ WaitForSinks()
sink->Flush();
} catch (const std::exception &e) {
fprintf(stderr, "\nLogSink[name=%s], reason=%s\n", sink->name(), e.what());
assert(false);
std::abort();
}
}
}