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

uploader crashes when it encounters a file io error #496

Closed
drazisil-codecov opened this issue Nov 9, 2021 · 1 comment · Fixed by #855
Closed

uploader crashes when it encounters a file io error #496

drazisil-codecov opened this issue Nov 9, 2021 · 1 comment · Fixed by #855
Labels
bug Something isn't working

Comments

@drazisil-codecov
Copy link
Contributor

Describe the bug

When scanning for files, uploader breaks if it encounters a file or directory it can not access

To Reproduce
Steps to reproduce the behavior:

  1. pass -R <directory you don't have access to, such as root>
  2. See error

Expected behavior

Uploader prints a warning that the directory / file is being skipped (if verbose) and continues

Screenshots

[2021-11-09T12:42:44.241Z] ['error'] There was an error running the uploader: Error getting file listing: Error: EPERM: operation not permitted, scandir '/Users/drazisil-codecov/.Trash'
@drazisil-codecov drazisil-codecov added the bug Something isn't working label Jan 5, 2022
@mitchell-codecov mitchell-codecov linked a pull request Aug 22, 2022 that will close this issue
@mitchell-codecov
Copy link
Contributor

mitchell-codecov commented Aug 22, 2022

This issue was (partially) fixed in #855.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants