From 5ca54b06d1ee0b4b4f05a3515adf3437b7538278 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Fri, 22 Mar 2019 18:14:07 -0700 Subject: [PATCH] ircd::resource: Show the X-Matrix-Authorization destination host in error. --- ircd/resource.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ircd/resource.cc b/ircd/resource.cc index a0a8b11f1..7cf981f0f 100644 --- a/ircd/resource.cc +++ b/ircd/resource.cc @@ -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