Browse Source

add exception message

main
yggverse 6 months ago
parent
commit
0d5db685d1
  1. 4
      src/Client/Request.php

4
src/Client/Request.php

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

Loading…
Cancel
Save