Skip to content

stream: improve multiple callback error message

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/err-msg into master

When a transform stream's callback is called more than once, an error is emitted with a somewhat confusing message. This commit hopes to improve the quality of the error message.

Fixes: https://github.com/nodejs/node/issues/12513

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

stream

Merge request reports

Loading