Uh oh!
There was an error while loading. Please reload this page.
errors,stream-transform: migrate to use internal/errors.js - #13310
errors,stream-transform: migrate to use internal/errors.js#13310sreepurnajasti wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
'Calling transform done when still transforming' [](start = 27, length = 48)
don't need this anymore?
There was a problem hiding this comment.
[](start = 22, length = 1)
nit: can you move the space on above line?
There was a problem hiding this comment.
If I recall correctly, there are a couple of places in core with a similar error. A more generic error message may be appropriate.
There was a problem hiding this comment.
@jasnell Modified the error message to be more generic. Thanks
8ff453c to
404387bComparekunalspathak
commented
May 31, 2017
@sreepurnajasti - Changes incorporated from my feedback looks good although I kind of don't like |
There was a problem hiding this comment.
I'd agree a better name for the error would be good. Maybe 'ERR_TRANSFORM_WITH_LENGTH_0'.
There was a problem hiding this comment.
Maybe to be consistent with my other suggestion:
'ERR_TRANSFORM_MULTIPLE_CALLBACK'.
There was a problem hiding this comment.
Maybe to be consistent with my other suggestion:
'ERR_TRANSFORM_ALREADY_TRANSFORMING' String is already specific to transform so making that part of the ID makes sense to me.
404387b to
47ada2cComparesreepurnajasti
commented
Jun 12, 2017
47ada2c to
0cc5f2dCompare0cc5f2d to
9ba9855Comparemhdawson
commented
Jun 14, 2017
mhdawson
commented
Jun 15, 2017
CI good landing |
mhdawson
commented
Jun 15, 2017
Landed as d50a802 |
PR-URL: #13310 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
sreepurnajasti
commented
Jun 18, 2017
@mhdawson Thank you :) |
mcollina
commented
Jun 21, 2017
I'm strongly -1 on this one. This forces some good rework on cc @nodejs/streams |
mcollina
commented
Jun 21, 2017
To be clear, this is something we should be doing asap, but we need to think a bit how we want to do it. |
jasnell
commented
Jun 21, 2017
:-/ ... reverting would be unfortunate. Perhaps instead, since this is semver-major and won't go out in a release any time soon, can we take a short bit of time to figure out the strategy for readable-stream? And if we can't identify a reasonable path forward, then revert... |
mcollina
commented
Jun 21, 2017
That's ok for me, there is no hurry to revert. |
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
lib/_stream_transform.js
ref: #11273