From 3c7860639f4be1c7620905f056c3421d37357952 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Brala?= Date: Mon, 24 Mar 2025 14:13:46 +0100 Subject: [PATCH] Update RequestMatcher.php Show an error with the actual host when requestmatcher fails --- src/RequestMatcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RequestMatcher.php b/src/RequestMatcher.php index f9028a8..a47b2da 100644 --- a/src/RequestMatcher.php +++ b/src/RequestMatcher.php @@ -328,7 +328,7 @@ public function match(Request $request = NULL) { } } if (empty($site)) { - throw new RequestMatchException("Unable to match a site domain."); + throw new RequestMatchException("Unable to match a site domain to (".$host.")"); } } putenv('SITE=' . $site);