mirror of
https://github.com/YGGverse/gemini-php.git
synced 2026-03-31 17:05:29 +00:00
add exception message
This commit is contained in:
parent
5b6e645a4b
commit
0d5db685d1
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue