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:
parent
38970872e5
commit
3e163d842c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue