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