add exception message

This commit is contained in:
yggverse 2024-06-24 23:16:35 +03:00
parent 5b6e645a4b
commit 0d5db685d1

View File

@ -33,7 +33,9 @@ class Request
else
{
throw new \Exception(); // @TODO
throw new \Exception(
_('Host required')
);
}
if ($port = parse_url($url, PHP_URL_PORT))