validate icon indicating copy to clipboard operation
validate copied to clipboard

Validate should throw exception when max number of errors limit is reached

Open fran-vallejo opened this issue 5 years ago • 0 comments

Describe the bug validate calls System.exit when it reach the max number of errors configured.

Expected behavior validate finishes the validation process when it reach the number of errors configured. It adds a warning as an additional message indicating that it might be additional errors but it has stop because x number of errors have been reached.

** Version of Software Used** validate-1.15.0

Desktop (please complete the following information):

  • OS: Ubuntu 18

Additional context

  • Check gov.nasa.pds.validate.ValidateLauncher lines 1341 to 1343.
  • As it is, when embedding validate within other software the option to limit the number of errors cannot be used as it kill the java process.

Regards, Fran.

fran-vallejo avatar Aug 09 '19 15:08 fran-vallejo