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
{{ message }}
Repository navigation
Console class ignores ignoreErrors on Node.js v14.3.0 #33628
changed the title [-]Console class do not respect ignoreErrors on Node.js[/-][+]Console class do not respect ignoreErrors on Node.js v14.3.0[/+]on May 29, 2020
changed the title [-]Console class do not respect ignoreErrors on Node.js v14.3.0[/-][+]Console class ignores `ignoreErrors` on Node.js v14.3.0[/+]on May 29, 2020
So, errors thrown on Node.js v12 & v10 were bug, that was fixed somewhere on v13/v14 ?
Not sure exactly what you mean. A lot of things fall under that description. But this specific case wasn't a bug per se, but it was ambiguous/undefined behavior that we changed to make it predictable. There were also other problems this caused that the change resolved.
It was a very long discussion as you can notice from the PR and not at decision taken lightly.
I saw there was long disucssion in #29197, and the change seems reasonable to me.
My understanding is that the error I saw on Node.js v12 were due to ambiguous/undefined hehaviors.
I am closing this issue as "as-designed" or similar.
Activity
[-]Console class do not respect ignoreErrors on Node.js[/-][+]Console class do not respect ignoreErrors on Node.js v14.3.0[/+][-]Console class do not respect ignoreErrors on Node.js v14.3.0[/-][+]Console class ignores `ignoreErrors` on Node.js v14.3.0[/+]BridgeAR commentedon May 29, 2020
@ronag PTAL
XadillaX commentedon May 29, 2020
It seems because of
do not throw error any more.
ronag commentedon May 29, 2020
This is expected. You can't error an already destroyed stream. #29197
exoego commentedon May 29, 2020
So, errors thrown on Node.js v12 & v10 were bug, that was fixed somewhere on v13/v14 ?
XadillaX commentedon May 29, 2020
But I think it's a breaking change.
ronag commentedon May 29, 2020
Yes, it was labeled as semver-major.
ronag commentedon May 29, 2020
Not sure exactly what you mean. A lot of things fall under that description. But this specific case wasn't a bug per se, but it was ambiguous/undefined behavior that we changed to make it predictable. There were also other problems this caused that the change resolved.
It was a very long discussion as you can notice from the PR and not at decision taken lightly.
exoego commentedon May 29, 2020
Thanks for quick response 👍
I saw there was long disucssion in #29197, and the change seems reasonable to me.
My understanding is that the error I saw on Node.js v12 were due to ambiguous/undefined hehaviors.
I am closing this issue as "as-designed" or similar.