0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 00:32:35 +01:00

ircd::resource: Show the X-Matrix-Authorization destination host in error.

This commit is contained in:
Jason Volk 2019-03-22 18:14:07 -07:00
parent 3480819ab5
commit 5ca54b06d1

View file

@ -662,7 +662,8 @@ const try
throw m::error
{
http::UNAUTHORIZED, "M_NOT_MY_HOST",
"The X-Matrix Authorization destination host is not recognized here."
"The X-Matrix Authorization destination '%s' is not recognized here.",
request.head.host
};
const m::request::x_matrix x_matrix