Skip to content

Commit afeb90c

Browse files
authored
fix: correct variable in telemetry metrics backend error message (#1516)
1 parent 55c9022 commit afeb90c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wrapper/src/main/java/software/amazon/jdbc/util/telemetry/DefaultTelemetryFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public DefaultTelemetryFactory(final Properties properties) {
6161
this.metricsTelemetryFactory = null;
6262
} else {
6363
throw new RuntimeException(
64-
telemetryTracesBackend + " is not a valid metrics backend. Available options: OTLP, NONE.");
64+
telemetryMetricsBackend + " is not a valid metrics backend. Available options: OTLP, NONE.");
6565
}
6666
} else {
6767
this.metricsTelemetryFactory = null;

0 commit comments

Comments
 (0)