-
Notifications
You must be signed in to change notification settings - Fork 96
Description
Hi,
I would like to report issue with Oxalis standalone component.
In case I provide a path to a file that does not exist or that the process cannot access as -f input parameter to Oxalis standalone, the application finishes its work with RC 0 and only a warning in the log that the input file does not exist. Since the only functionality of this component is sending messages, the application should require at least one valid input file and should crash and return a non-zero return code if this is not the case and no valid input files have been provided.
The mentioned code snippet is this:
oxalis/oxalis-dist/oxalis-standalone/src/main/java/eu/sendregning/oxalis/Main.java
Lines 292 to 295 in 7cf1cc2
| File fileSpec = new File(payloadFileSpec); | |
| if (!fileSpec.exists()) { | |
| log.warn(String.format("'%s' does not exists.", fileSpec.getAbsolutePath())); | |
| } else if (fileSpec.isDirectory()) { |
Would it be possible to change the behavior of the application to take this as a fatal error instead of just a "warning"?
Thanks in advance
Additional information:
Oxalis version: 6.5.0
AS4 plugin version: 6.5.0
Metadata
Metadata
Assignees
Labels
Type
Projects
Status