We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 799664d commit 52a9b06Copy full SHA for 52a9b06
mcp/mcp-cli-api/src/main/java/software/amazon/smithy/java/mcp/cli/CliMetrics.java
@@ -43,6 +43,10 @@ public void close() {
43
.counters(counters)
44
.timings(timings)
45
.build();
46
- telemetryPublisher.publish(telemetryData.build());
+ try {
47
+ telemetryPublisher.publish(telemetryData.build());
48
+ } catch (Exception ignored) {
49
+ //Do not fail if we can't publish telemetry.
50
+ }
51
}
52
0 commit comments