Skip to content

Commit

Permalink
Including error in failure warning (#11)
Browse files Browse the repository at this point in the history
* Including error in failure warning

* Forgot to build... Again
  • Loading branch information
cooperbenson-qz authored Oct 23, 2020
1 parent 2e57de7 commit a5f2ea5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async function run(): Promise<void> {
core.setOutput('sha', sha);
return;
} catch (error) {
core.warning(`Failed to perform commit on attempt ${i + 1} of ${retries + 1}. Retrying`);
core.warning(`Error while performing commit (attempt ${i + 1}/${retries + 1}): ${error}`);
}
}
core.setFailed(`Could not perform commit after ${retries + 1} attempts`);
Expand Down

0 comments on commit a5f2ea5

Please sign in to comment.