Skip to content

Commit

Permalink
FRI-502 Updated error message when creating JIRA ticket
Browse files Browse the repository at this point in the history
  • Loading branch information
QuyenLy87 committed Oct 13, 2022
1 parent 650641f commit ee33be5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ private Issue createJiraIssue(ReleaseCenter releaseCenter, String summary, Strin
updateRequest.execute();
} catch (JiraException e) {
logger.error(e.getMessage());
throw new BusinessServiceException("Failed to create Jira task. Error: " + e.getMessage(), e);
throw new BusinessServiceException("Failed to create Jira task. Error: " + (e.getCause() != null ? e.getCause().getMessage() : e.getMessage()), e);
}

return jiraIssue;
Expand Down

0 comments on commit ee33be5

Please sign in to comment.