Skip to content

Commit 3f4119b

Browse files
bundoleeclaude
andcommitted
fix: update timeout error message to allow zero
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent fd92869 commit 3f4119b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • java/opendataloader-pdf-cli/src/main/java/org/opendataloader/pdf/cli

java/opendataloader-pdf-cli/src/main/java/org/opendataloader/pdf/cli/CLIOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ private static void applyHybridOptions(Config config, CommandLine commandLine) {
500500
config.getHybridConfig().setTimeoutMs(timeout);
501501
} catch (NumberFormatException e) {
502502
throw new IllegalArgumentException(
503-
String.format("Invalid timeout value '%s'. Must be a positive integer.", timeoutValue));
503+
String.format("Invalid timeout value '%s'. Must be a non-negative integer.", timeoutValue));
504504
}
505505
}
506506
}

0 commit comments

Comments
 (0)