-
Notifications
You must be signed in to change notification settings - Fork 840
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error logging ignores router target #242
Conversation
2 similar comments
@bender316 |
This just came up in a Stack Overflow question, shame it didn't get merged 😕 |
I'm not working with http-proxy-middleware anymore. Maybe I find some time to rebase it but this really could take some time. Maybe it gets merged sometime. |
That's fair enough @bender316 - I'd be happy to create a new PR for this if a maintainer (@lerit?) thinks it would get merged. |
fixed in |
Hi,
I'm using a router function to override the target. If an error occurs the old target is written to the log which can be really misleading.
I changed the logging so that it first gets the router target and then uses one of the available targets for output.