As of now, only a default log is being printed in these events, there's no way for the user to implement custom logic if these events occur.
Would be great if either this event can be mapped to the 'onError' event handler, or if separate user-defined event handlers can be accepted just like the rest of the events.
Describe the feature you'd love to see
In reference to https://github.com/chimurai/http-proxy-middleware/pull/763 & https://github.com/chimurai/http-proxy-middleware/pull/759
As of now, only a default log is being printed in these events, there's no way for the user to implement custom logic if these events occur. Would be great if either this event can be mapped to the 'onError' event handler, or if separate user-defined event handlers can be accepted just like the rest of the events.
current implementation
My workaround code
Additional context (optional)
No response