-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: catch file stream error #31
Conversation
cc @fengmk2 |
Current coverage is 100% (diff: 100%)
|
any progress on this? |
@fengmk2 any advice? |
index.js
Outdated
@@ -27,7 +27,7 @@ module.exports = function (request, options) { | |||
.on('field', onField) | |||
.on('file', onFile) | |||
.on('close', cleanup) | |||
.on('error', onEnd) | |||
.on('error', onError) | |||
.on('finish', onEnd) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
finish
event will be emit aftererror
event?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yea
5048667
to
624ad34
Compare
2.0.1 |
No description provided.