This is an automated email from the ASF dual-hosted git repository.
mdedetrich pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-connectors.git
The following commit(s) were added to refs/heads/main by this push:
new 78fd2c65d Fix error message for ResumableUpload
78fd2c65d is described below
commit 78fd2c65d01ab8496466a40f958635c7b075c5a1
Author: Matthew de Detrich <[email protected]>
AuthorDate: Sat Sep 14 09:51:34 2024 +0200
Fix error message for ResumableUpload
---
.../org/apache/pekko/stream/connectors/google/ResumableUpload.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/google-common/src/main/scala/org/apache/pekko/stream/connectors/google/ResumableUpload.scala
b/google-common/src/main/scala/org/apache/pekko/stream/connectors/google/ResumableUpload.scala
index a043f9fa5..4981f60dd 100644
---
a/google-common/src/main/scala/org/apache/pekko/stream/connectors/google/ResumableUpload.scala
+++
b/google-common/src/main/scala/org/apache/pekko/stream/connectors/google/ResumableUpload.scala
@@ -102,7 +102,7 @@ private[connectors] object ResumableUpload {
else
Unmarshal(response.entity).to[String].flatMap { errorString =>
Future.failed(InvalidResponseException(
- ErrorInfo(s"Resumable upload failed with status:
${response.status}", s"body: $errorString")))
+ ErrorInfo(s"Resumable upload failed with status
${response.status}", errorString)))
}(ExecutionContexts.parasitic)
}.withDefaultRetry
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]