Skip to content

Commit a5f2ea5

Browse files
authoredOct 23, 2020
Including error in failure warning (#11)
* Including error in failure warning * Forgot to build... Again
1 parent 2e57de7 commit a5f2ea5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
 

‎dist/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ async function run(): Promise<void> {
4343
core.setOutput('sha', sha);
4444
return;
4545
} catch (error) {
46-
core.warning(`Failed to perform commit on attempt ${i + 1} of ${retries + 1}. Retrying`);
46+
core.warning(`Error while performing commit (attempt ${i + 1}/${retries + 1}): ${error}`);
4747
}
4848
}
4949
core.setFailed(`Could not perform commit after ${retries + 1} attempts`);

0 commit comments

Comments
 (0)