0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-06 12:08:56 +02:00

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

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()