Add option to handle errors in done() callback of chunksUploaded
Status | Pipeline | Created by | Stages | Actions |
---|---|---|---|---|
Passed 00:03:33
| Stage: test | No artifacts found |
In chunksUploaded callback (when all chunks have been uploaded) we sometimes want to do some server size validation. In order to achieve this we need a way to handle errors (Cancel file upload) when file does not pass validation.
Adding an option to pass an error to done(error) allows us to achieve this. (Similar to the accept() method).
Status | Pipeline | Created by | Stages | Actions |
---|---|---|---|---|
Passed 00:03:33
| Stage: test |
Download artifacts
No artifacts found |