connect-modrewrite
connect-modrewrite copied to clipboard
Error handling?
I might be missing something, but where's the error handling?
I'm using this to have gulp-webserver connect to an API that's running in the background as a separate HTTP server. When it isn't running, I want it to display something like "yo, fire up the API, you fool" instead of a cryptic exception message.
So, I need to catch those exceptions when the proxy part of modrewrite wasn't able to connect.