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

feat: Handle Riff-Raff upload error, and PR commenting error separately #127

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

akash1810
Copy link
Member

@akash1810 akash1810 commented Apr 25, 2024

What does this change?

We're printing Error uploading to Riff-Raff. Does the repository have an IAM Role? See https://github.com/guardian/riffraff-platform' on every exception. This is misleading!

Confusing message

image

Catch exceptions from S3 upload, and PR commenting separately and provide a more tailored comment.

This addresses an earlier comment #126 (comment).

We're printing `Error uploading to Riff-Raff. Does the repository have an IAM Role? See https://github.com/guardian/riffraff-platform'` on every exception.
This is misleading!

Catch exceptions from S3 upload, and PR commenting separately and provide a more tailored comment.
@akash1810 akash1810 merged commit b2107fa into main Apr 26, 2024
1 check passed
@akash1810 akash1810 deleted the aa/more-directed-error-handling branch April 26, 2024 12:56
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.

2 participants