Skip to content

Commit

Permalink
Merge pull request #353 from camelotls/info-error-message
Browse files Browse the repository at this point in the history
Info error message
  • Loading branch information
pmegremis committed Sep 20, 2022
2 parents e11809f + 5d1f8db commit 4c990c9
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 46 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const createIssue = async (payload) => {
const parallelIssueCreation = (jiraIssuesPayloads) => {
return Promise.all(jiraIssuesPayloads.map(payload => createIssue(payload))).catch((e) => {
log.error(`The Jira issue creation encountered the following error: ${e}`);
core.exportVariable('ERROR_MSG', `${e}`);
});
};

Expand Down
86 changes: 42 additions & 44 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"author": "",
"license": "MIT",
"dependencies": {
"@actions/core": "1.6.0",
"@actions/core": "1.9.1",
"chai": "4.3.4",
"chai-files": "1.4.0",
"fs": "0.0.1-security",
"got": "^11.8.2",
"got": "11.8.2",
"lodash": "4.17.21",
"mocha": "8.3.0",
"nock": "13.1.3",
Expand Down

0 comments on commit 4c990c9

Please sign in to comment.