|
@@ -30,7 +30,8 @@ public class OSSService implements Serializable {
|
|
|
request.setNewObjectMetadata(objectMetadata);
|
|
|
CopyObjectResult result = ossClient.copyObject(request);
|
|
|
} catch (OSSException oe) {
|
|
|
- if (oe.getErrorCode().equals("NoSuchKey")) {
|
|
|
+ if (oe.getErrorCode().equals("NoSuchKey")
|
|
|
+ || oe.getErrorCode().equals("InvalidObjectState")) {
|
|
|
continue;
|
|
|
} else {
|
|
|
throw oe;
|