Skip to content

Commit

Permalink
Merge pull request #8143 from kenjis/fix-SiteURI-normalizeBaseURL
Browse files Browse the repository at this point in the history
fix: improve error message in SiteURI::normalizeBaseURL()
  • Loading branch information
kenjis authored Nov 6, 2023
2 parents ff931e2 + f966357 commit c3613ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/HTTP/SiteURI.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ private function normalizeBaseURL(App $configApp): string
// Validate baseURL
if (filter_var($baseURL, FILTER_VALIDATE_URL) === false) {
throw new ConfigException(
'Config\App::$baseURL is invalid.'
'Config\App::$baseURL "' . $baseURL . '" is not a valid URL.'
);
}

Expand Down

0 comments on commit c3613ca

Please sign in to comment.