Skip to content

Commit 946499c

Browse files
Merge pull request #323 from YeonghyeonKO/main
fix typo in the exception of RetryUtil
2 parents 13e2016 + 933aca3 commit 946499c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/aiven/kafka/connect/opensearch/RetryUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public static <T, E extends Exception> T callWithRetry(final String callName, fi
108108
return callable.call();
109109
} catch (final Exception e) {
110110
if (!repeatableException.isAssignableFrom(e.getClass())) {
111-
final var msg = String.format("Non-repeatable exception trown by %s", callName);
111+
final var msg = String.format("Non-repeatable exception thrown by %s", callName);
112112
LOGGER.error(msg, e);
113113
throw new ConnectException(msg, e);
114114
} else if (attempts < maxAttempts) {

0 commit comments

Comments
 (0)