I'm using skipper with skipper-s3 adapter to handle file uploads in my sails application.
It works fine when the file is sent normally, yet when the request is aborted I got an unhandled error message and sails crashes.
events.js:85
throw er; // Unhandled 'error' event
^
Error: Request aborted
at IncomingMessage.onReqAborted (/Users/olivierroche/Dev/loopIt/API/node_modules/skipper/node_modules/multiparty/index.js:175:17)
at IncomingMessage.emit (events.js:104:17)
at abortIncoming (_http_server.js:279:11)
at Socket.socketOnEnd (_http_server.js:393:7)
at Socket.emit (events.js:129:20)
at _stream_readable.js:908:16
at process._tickDomainCallback (node.js:381:11)
I had a look at this subject : Aborted upload causes Sails js/Skipper to crash
However the problem does not seem to be solved in my case. I'm using skipper v0.5.5. Any clue on this error and how to handle this case ? It's is quite problematic as every time a user close his tab the server will simply crash.