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