Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
domain,events: support non-object 'error' argument
Fix a TypeError when emitting an 'error' argument with a non-object argument (like a string) when domains are active. Fixes: nodejs/help#501 PR-URL: #11438 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
- Loading branch information