Skip to content

Error message missing #121

@sohobloo

Description

@sohobloo

stderr data may emit one complete error message by several chunks, like this:

  1. '\n'
  2. 'ERROR:\n'
  3. 'some error message.\n\n'

So error.js can not extract both level and message from these separated chunks correctly. In fact the message will missing on error event emitting. This makes me hard to determine whether it's an incorrect password error in my scenario.

IMO the matching should be done here: onEndFactory, with full stderr chunks join together.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions