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:
parent
6af9d35edc
commit
091ee437c0
25
ircd/m.cc
25
ircd/m.cc
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue