Skip to content

Commit

Permalink
Merge pull request #16285 from iterate-ch/bugfix/GH-10789
Browse files Browse the repository at this point in the history
Revised fix 78302f8 because of regression caused by f4466fc.
  • Loading branch information
dkocher authored Sep 4, 2024
2 parents dcdc08c + f2a3475 commit 1d010a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
import ch.cyberduck.core.cdn.features.Purge;
import ch.cyberduck.core.date.RFC1123DateFormatter;
import ch.cyberduck.core.exception.BackgroundException;
import ch.cyberduck.core.exception.ConflictException;
import ch.cyberduck.core.exception.InteroperabilityException;
import ch.cyberduck.core.features.AclPermission;
import ch.cyberduck.core.features.Delete;
Expand Down Expand Up @@ -1969,7 +1970,7 @@ public Void run(final Session<?> session) throws BackgroundException {
try {
transferAcceleration = session.getFeature(TransferAcceleration.class).getStatus(file);
}
catch(InteroperabilityException e) {
catch(InteroperabilityException | ConflictException e) {
log.warn(String.format("Ignore failure %s reading transfer acceleration", e));
// 405 The specified method is not allowed against this resource
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1452,6 +1452,10 @@ public override object run(Session session)
{
Log.warn("Ignore failure reading transfer acceleration", ex);
}
catch (ConflictException ex)
{
Log.warn("Ignore failure reading transfer acceleration", ex);
}
}
return true;
}
Expand Down

0 comments on commit 1d010a4

Please sign in to comment.