-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[Bug]: GCS IO publishes uninformative error message #26769
Comments
cc: @BjornPrime who is working on GCS IO |
The client swap should take care of this. I'll claim it for now and close it once the swap is merged. |
.take-issue |
This code:
Totally breaks Google's HttpError for me, since it overrides Calling
|
This should probably be: raise BeamGcsError("error while uploading file %s...") from self._upload_thread.last_error |
@tvalentyn If you agree I can make a PR |
Note that #28079 will remove |
@cozos SGTM. You can raise a RuntimeError. As mentioned, this would hopefully be moot soon though. |
Thanks, @cozos ! |
What happened?
When I ran a wordcount pipeline with an output set to a bucket in a different project (causing permission errors), I saw following output in the console:
Looks like not all possible errors have the message attribute, and the code needs to account for it.
Relevant PR: #24449
Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components
The text was updated successfully, but these errors were encountered: