Aborting an upload too soon make the server crash.
Here's the throwed error:
events.js:167
throw er; // Unhandled 'error' event
^
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
at doWrite (_stream_writable.js:406:19)
at clearBuffer (_stream_writable.js:540:7)
at onwrite (_stream_writable.js:465:7)
at fs.write (fs.js:2282:5)
at FSReqWrap.wrapper [as oncomplete] (fs.js:643:5)
Emitted 'error' event at:
at onwriteError (_stream_writable.js:425:12)
at onwrite (_stream_writable.js:456:5)
at doWrite (_stream_writable.js:406:11)
at clearBuffer (_stream_writable.js:540:7)
[... lines matching original stack trace ...]
at FSReqWrap.wrapper [as oncomplete] (fs.js:643:5)
No stacktrace, no fun
It appears to be from the file's write stream
Using the onPart event may resolve the issue but that's not the goal.
Aborting an upload too soon make the server crash.
Here's the throwed error:
No stacktrace, no fun
It appears to be from the file's write stream
Using the onPart event may resolve the issue but that's not the goal.