0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-29 00:03:45 +02:00

ircd:Ⓜ️:bootstrap: Improve error log detail on worker failure.

This commit is contained in:
Jason Volk 2019-07-31 17:17:14 -07:00
parent 38970872e5
commit 3e163d842c

View file

@ -327,6 +327,17 @@ try
event, pkg.host
};
}
catch(const http::error &e)
{
log::error
{
log, "(worker) Failed to bootstrap for %s to %s :%s :%s",
pkg.event_id,
pkg.host,
e.what(),
e.content,
};
}
catch(const std::exception &e)
{
log::error