You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IF any errors occur in this proxy rule (in my case they sometimes do happen, which is OK), I expect the logLevel: 'silent' to silent them. In the previous version of webpack-dev-server I used (3.11.2), this was in fact the case.
Actual Behavior
Now it ignores the logLevel: 'silent' for the proxy and logs the error:
<e> [webpack-dev-server] [HPM] Error occurred while proxying request localhost:8080/config to http://localhost:1234 [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
The error is correct, but I want it to be silenced, as it was possible in 3.11.2.
For Bugs; How can we reproduce the behavior?
The easiest way to reproduce it, is add a proxy in the devServer section with an invalid target and set logLevel: 'silent'.
The text was updated successfully, but these errors were encountered:
Code
Expected Behavior
IF any errors occur in this proxy rule (in my case they sometimes do happen, which is OK), I expect the
logLevel: 'silent'
to silent them. In the previous version ofwebpack-dev-server
I used (3.11.2
), this was in fact the case.Actual Behavior
Now it ignores the
logLevel: 'silent'
for the proxy and logs the error:The error is correct, but I want it to be silenced, as it was possible in
3.11.2
.For Bugs; How can we reproduce the behavior?
The easiest way to reproduce it, is add a
proxy
in thedevServer
section with an invalidtarget
and setlogLevel: 'silent'
.The text was updated successfully, but these errors were encountered: