Skip to content

Commit a5f2ea5

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

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 1 addition & 1 deletion
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)