Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upexception in mapSync causes fatal error #94
Comments
This comment has been minimized.
This comment has been minimized.
|
Unfortunately, there is no way other than catching |
This comment has been minimized.
This comment has been minimized.
|
@dominictarr I think that since mapSync() expects a synchronous function, it should do the proper error handling - and wrap the call to the user func in a |
This comment has been minimized.
This comment has been minimized.
|
Fixed in v3.3.3 |
nyurik
closed this
Jun 18, 2016
This comment has been minimized.
This comment has been minimized.
|
Meh, probably should have added a unit test for this. @dominictarr if you have any spare cycles, i think it would be good to have a crashing unit test or two :) |
nyurik commentedJun 17, 2016
The error thrown in the middle of the mapSync() cases application exception. Shouldn't mapSync handle that? Also, do I need to do
on('error')after each stream transformation?