mdedetrich opened a new pull request, #802:
URL: https://github.com/apache/pekko-connectors/pull/802

   In https://github.com/apache/pekko-connectors/pull/799 the erorr message was 
improved, and i can report that it is actually working as expected, and by that 
I mean that even the `detail` part of the error message is being reported 
(@raboof was right, the printing of the `detail` part is a configuration 
setting and its looking like its using sane default values`).
   
   As an example, right now the error message is looking like
   
   ```
   java.util.concurrent.CompletionException: 
org.apache.pekko.stream.connectors.google.ResumableUpload$InvalidResponseException:
 Resumable upload failed with status: 403 Forbidden: body: 
{"error":{"code":403,"message":"<REDACTED> does not have storage.objects.create 
access to the Google Cloud Storage object. Permission 'storage.objects.create' 
denied on resource (or it may not exist).","errors":[{"message":"<REDACTED> 
does not have storage.objects.create access to the Google Cloud Storage object. 
Permission 'storage.objects.create' denied on resource (or it may not 
exist).","domain":"global","reason":"forbidden"}]}}
   ```
   
   The only minor issue currently is that the printing of the error message has 
parts that are a bit duplicated so this PR fixes that.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org
For additional commands, e-mail: notifications-h...@pekko.apache.org

Reply via email to