You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by md...@apache.org on 2024/09/14 10:14:00 UTC
(pekko-connectors) branch main updated: Fix error message for ResumableUpload
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 <md...@gmail.com>
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: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org