tysonjh commented on a change in pull request #12001:
URL: https://github.com/apache/beam/pull/12001#discussion_r441874698



##########
File path: 
runners/extensions-java/metrics/src/main/java/org/apache/beam/runners/extensions/metrics/MetricsHttpSink.java
##########
@@ -74,7 +74,9 @@ public void writeMetrics(MetricQueryResults 
metricQueryResults) throws Exception
     }
     int responseCode = connection.getResponseCode();
     if (responseCode != 200) {
-      throw new IOException("Expected OK 200 response but received: " + 
responseCode);
+      throw new IOException(
+          "Expected HTTP 200 OK response while writing metrics to 
MetricsSinkHttp but received "

Review comment:
       Oops! Done.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to