Skip to content

Commit c3613ca

Browse files
authored
Merge pull request #8143 from kenjis/fix-SiteURI-normalizeBaseURL
fix: improve error message in SiteURI::normalizeBaseURL()
2 parents ff931e2 + f966357 commit c3613ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/HTTP/SiteURI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ private function normalizeBaseURL(App $configApp): string
197197
// Validate baseURL
198198
if (filter_var($baseURL, FILTER_VALIDATE_URL) === false) {
199199
throw new ConfigException(
200-
'Config\App::$baseURL is invalid.'
200+
'Config\App::$baseURL "' . $baseURL . '" is not a valid URL.'
201201
);
202202
}
203203

0 commit comments

Comments
 (0)