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

Log upload errors #4099

Closed
wants to merge 3 commits into from
Closed

Log upload errors #4099

wants to merge 3 commits into from

Conversation

aduffeck
Copy link
Contributor

@aduffeck aduffeck commented Aug 4, 2023

We fixed a problem where problems with uploading blobs to the blobstore weren't logged.

Fixes owncloud/ocis#6962

We wrongly passed err to errors.Wrapf instead of err1, leading to a
nil error to be returned.
@wkloucek
Copy link
Contributor

wkloucek commented Aug 4, 2023

I can confirm that it now logs an error on failing upload.

@kobergj
Copy link
Contributor

kobergj commented Aug 4, 2023

Don't we also need a log for the async upload case? Or is this covered already?

@aduffeck
Copy link
Contributor Author

aduffeck commented Aug 4, 2023

@kobergj in the async-uploads case the errors are logged at https://github.com/cs3org/reva/blob/edge/pkg/storage/utils/decomposedfs/decomposedfs.go#L271 already.

@aduffeck
Copy link
Contributor Author

aduffeck commented Aug 8, 2023

Superseded by #4100

@aduffeck aduffeck closed this Aug 8, 2023
@aduffeck aduffeck deleted the log-upload-errors branch August 8, 2023 08:54
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