Skip to content

Commit c37db98

Browse files
committed
Narrow unchecked catch in reactor test
1 parent cfaedc8 commit c37db98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • instrumentation/reactor/reactor-3.1/library/src/test/java/io/opentelemetry/instrumentation/reactor/v3_1

instrumentation/reactor/reactor-3.1/library/src/test/java/io/opentelemetry/instrumentation/reactor/v3_1/ReactorCoreTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ private static <T> Flux<T> retryWhen(Flux<T> flux) {
542542
return (Flux<T>) retryWhenMethod.invoke(flux, retrySpecMethod.invoke(retryClass));
543543
} catch (ReflectiveOperationException e) {
544544
// ignore
545-
} catch (Exception e) {
545+
} catch (RuntimeException e) {
546546
throw new IllegalStateException(e);
547547
}
548548
throw new IllegalStateException("Could not find retryWhen method");

0 commit comments

Comments
 (0)