Skip to content

Commit 11a2ea8

Browse files
committed
error log now says metric instead of log
1 parent e8963d8 commit 11a2ea8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry/src/main/java/io/sentry/metrics/MetricsApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ private void captureMetrics(
160160

161161
scopes.getClient().captureMetric(metricsEvent, combinedScope, params.getHint());
162162
} catch (Throwable e) {
163-
options.getLogger().log(SentryLevel.ERROR, "Error while capturing log event", e);
163+
options.getLogger().log(SentryLevel.ERROR, "Error while capturing metrics event", e);
164164
}
165165
}
166166

0 commit comments

Comments
 (0)