Skip to content

Commit

Permalink
Importer: Improve error message for Scan Filename on PSM not found
Browse files Browse the repository at this point in the history
Improve error message for Scan Filename on PSM not found in Scan
Filenames being imported.
  • Loading branch information
danjasuw committed Jan 31, 2020
1 parent 175de35 commit be9a02b
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@ public void validateScanFilenamesInXMLAreOnCommandLine(
}
} else {
if ( ! scanFilenamesSet.contains( scanFileName ) ) {
String msg = "Scan Filename on PSM is not in Scan File List on Command Line."
+ " Scan Filename on PSM: " + scanFileName;
String msg = "Found scan filename in Proxl XML file that is different than the scan file(s) uploaded. Uploaded filename(s): "
+ StringUtils.join( scanFilenamesSet, ", " )
+ ". Filename found in Proxl XML file: "
+ scanFileName;
log.error(msg);
throw new ProxlImporterDataException(msg);
}
Expand Down

0 comments on commit be9a02b

Please sign in to comment.