Skip to content

Commit 134236d

Browse files
committed
Squash spotbugs warning
1 parent 842e4e8 commit 134236d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/rabbitmq/stream/perf/Converters.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public Credits convert(String input) {
175175
credits = new int[] {initialCredits, initialCredits / 2};
176176
}
177177
return new Credits(credits[0], credits[1]);
178-
} catch (Exception e) {
178+
} catch (RuntimeException e) {
179179
throw new CommandLine.TypeConversionException(
180180
"'" + input + "' is not valid, valid example values: 10-5, 5-2");
181181
}

0 commit comments

Comments
 (0)