Skip to content

Commit

Permalink
temporarily suppress file deletion errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ix0rai committed Feb 5, 2025
1 parent 48d78a4 commit 79bc8d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/quiltmc/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -519,8 +519,8 @@ private void doUpload() {
B2FileVersion version = this.client.getFileInfoByName(Constants.B2_BUCKET, filePath);
this.client.deleteFileVersion(version.getFileName(), version.getFileId());
} catch (Exception e) {
e.printStackTrace();
throw new RuntimeException("Failed to delete " + filePath);
System.out.println("[WARN] Failed to delete " + filePath + ", suppressing error!");
//throw new RuntimeException("Failed to delete " + filePath, e);
}
}, executor);
}
Expand Down

0 comments on commit 79bc8d7

Please sign in to comment.