Skip to content

Commit

Permalink
Log errors while trashing documents that about to be replaced.
Browse files Browse the repository at this point in the history
  • Loading branch information
ocielliottc committed Sep 10, 2024
1 parent 1e337d9 commit 3030207
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,9 @@ public FileInfoDTO uploadDocument(String directoryName, String name, String text
.setSupportsAllDrives(true)
.execute();
} catch (GoogleJsonResponseException e) {
LOG.error("Error while trashing " + file.getName(), e);
} catch (IOException e) {
LOG.error("Error while trashing " + file.getName(), e);
}
}
}
Expand Down

0 comments on commit 3030207

Please sign in to comment.