mirror of
https://github.com/YGGverse/gemini-php.git
synced 2025-03-13 06:01:58 +00:00
add exception message
This commit is contained in:
parent
5b6e645a4b
commit
0d5db685d1
@ -33,7 +33,9 @@ class Request
|
|||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw new \Exception(); // @TODO
|
throw new \Exception(
|
||||||
|
_('Host required')
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($port = parse_url($url, PHP_URL_PORT))
|
if ($port = parse_url($url, PHP_URL_PORT))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user