Skip to content

Conversation

@diepchicuong
Copy link

@diepchicuong diepchicuong commented Apr 3, 2025

Based on the internal code of node stream, when calling destroy function with an error, it will emit an error event then close stream.

Screenshot 2025-04-03 at 11 22 15

@diepchicuong
Copy link
Author

This is my fix for this PR also
#313

@diepchicuong
Copy link
Author

the busboy will catch the error at line 215 below and call the error handler

@diepchicuong diepchicuong marked this pull request as draft April 8, 2025 02:45
@diepchicuong diepchicuong marked this pull request as ready for review April 8, 2025 02:45
@diepchicuong
Copy link
Author

@icebob Please take a look. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant