0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

ircd::server: Improve peer unavailable error messages.

This commit is contained in:
Jason Volk 2020-03-02 16:30:22 -08:00
parent 694b90b04e
commit eaff4ccac5

View file

@ -706,7 +706,9 @@ try
if(!err_check() || unlikely(ircd::run::level != ircd::run::level::RUN))
throw unavailable
{
"Peer is unable to take any requests :%s", err_msg()
"Peer %s is unable to take any requests :%s",
hostcanon,
err_msg()
};
link *const ret