We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 842e4e8 commit 134236dCopy full SHA for 134236d
src/main/java/com/rabbitmq/stream/perf/Converters.java
@@ -175,7 +175,7 @@ public Credits convert(String input) {
175
credits = new int[] {initialCredits, initialCredits / 2};
176
}
177
return new Credits(credits[0], credits[1]);
178
- } catch (Exception e) {
+ } catch (RuntimeException e) {
179
throw new CommandLine.TypeConversionException(
180
"'" + input + "' is not valid, valid example values: 10-5, 5-2");
181
0 commit comments