jenssegers / php-proxy

A PHP proxy script with https and post support
https://jenssegers.com
933 stars 266 forks source link

Argument exception when proxy path not available #34

Closed pekhota closed 6 years ago

pekhota commented 8 years ago

Argument 1 passed to Zend\Diactoros\Response\SapiEmitter::emit() must implement interface Psr\Http\Message\ResponseInterface, null given

I think it must be something user friendly like "Can resolve proxy path etc." or you should throw some special exception and not Argument one.