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

ircd:Ⓜ️:sync: Fix missing exception reporting on linear handle caller.

This commit is contained in:
Jason Volk 2019-04-02 09:47:35 -07:00
parent 6af9d35edc
commit 091ee437c0

View file

@ -810,6 +810,31 @@ catch(const std::bad_function_call &e)
return false;
}
catch(const m::error &e)
{
log::derror
{
log, "linear %s '%s' :%s %s",
loghead(data),
name(),
e.what(),
e.content
};
return false;
}
catch(const std::exception &e)
{
log::derror
{
log, "linear %s '%s' :%s",
loghead(data),
name(),
e.what()
};
throw;
}
bool
ircd::m::sync::item::poll(data &data,