Skip to content

Commit

Permalink
remove print stacktrace
Browse files Browse the repository at this point in the history
  • Loading branch information
Walt Shands committed Mar 28, 2019
1 parent af15a3f commit ad13f60
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ protected void addFilesToWorkflowAttachment(List<File> workflowAttachment, File
workflowAttachment.add(afile);
}
} catch (Exception e) {
e.printStackTrace();
LOG.error("Unable to traverse directory " + tempDir.getName() + " to get workflow attachment files", e);
exceptionMessage(e, "Unable to traverse directory " + tempDir.getName() + " to get workflow "
+ "attachment files", GENERIC_ERROR);
Expand Down Expand Up @@ -131,9 +130,9 @@ public void runWESCommand(String jsonString, File localPrimaryDescriptorFile, Fi

// CWL uses workflow type version with a 'v' prefix, e.g 'v1.0', but WDL uses '1.0'
String workflowTypeVersion = WORKFLOW_TYPE_VERSION;
if ("CWL".equals(languageType.toUpperCase())) {
if ("CWL".equalsIgnoreCase(languageType)) {
workflowTypeVersion = "v" + WORKFLOW_TYPE_VERSION;
} else if ("WDL".equals(languageType.toUpperCase())) {
} else if ("WDL".equalsIgnoreCase(languageType)) {
workflowTypeVersion = WDL_WORKFLOW_TYPE_VERSION;
}

Expand Down

0 comments on commit ad13f60

Please sign in to comment.