Handle unknown multipart upload states
This commit is contained in:
@@ -187,6 +187,11 @@ async function finishAndRecover({
|
|||||||
'Multipart upload completed without a job status',
|
'Multipart upload completed without a job status',
|
||||||
'InvalidUploadStatus',
|
'InvalidUploadStatus',
|
||||||
)
|
)
|
||||||
|
default:
|
||||||
|
throw new MultipartUploadError(
|
||||||
|
'Multipart upload returned an unknown status',
|
||||||
|
'InvalidUploadStatus',
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user