Skip to content

Commit

Permalink
Clarifiying inputs in failure case message in implementation of tdwg/…
Browse files Browse the repository at this point in the history
…bdq#46 VALIDATION_SCIENTIFICNAME_FOUND.
  • Loading branch information
chicoreus committed Jul 3, 2023
1 parent c6c6ef0 commit b449597
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ public static DQResponse<ComplianceValue> validationScientificnameFound(
logger.debug(toValidate.getAuthorship());
NameUsage validationResponse = service.validate(toValidate);
if (validationResponse==null) {
result.addComment("No Match found for ["+toValidate.getScientificName()+"]["+toValidate.getAuthorship()+"] in ["+sourceAuthority.getName()+"]");
result.addComment("No Match found for dwc:scientificName["+scientificName+"] parsed as name=["+toValidate.getScientificName()+"], authorship=["+toValidate.getAuthorship()+"] in ["+sourceAuthority.getName()+"]");
result.setResultState(ResultState.RUN_HAS_RESULT);
result.setValue(ComplianceValue.NOT_COMPLIANT);
} else {
Expand Down

0 comments on commit b449597

Please sign in to comment.