modules/federation/sender: Downgrade flush error to DERROR on shutdown.

This commit is contained in:
Jason Volk 2023-02-23 16:09:15 -08:00
parent 2948bf7cd1
commit 9154233db5
1 changed files with 9 additions and 1 deletions

View File

@ -503,8 +503,16 @@ try
}
catch(const std::exception &e)
{
log::error
const auto level
{
run::level == run::level::RUN?
log::level::ERROR:
log::level::DERROR
};
log::logf
{
m::log, level,
"flush error to %s :%s",
remote,
e.what()