Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NoSuchFileExceptions in S3Uploader #2238

Merged
merged 1 commit into from
Oct 26, 2021
Merged

Conversation

pschoenfelder
Copy link
Contributor

The call to Files.getLastModifiedTime was outside the try-catch block that captures NoSuchFileExceptions, so the uploader flags this as and error instead of marking the upload complete. This PR moves the call inside the try-catch block.

@rosalind210
Copy link
Contributor

🚢

@pschoenfelder pschoenfelder merged commit e69d579 into master Oct 26, 2021
@pschoenfelder pschoenfelder deleted the s3-file-issues branch October 26, 2021 20:21
@ssalinas ssalinas added this to the 1.5.0 milestone May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants