Skip to content

Commit 47148cb

Browse files
committed
[index.ts] Debug if catching error
1 parent 7574fe7 commit 47148cb

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dist/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8199,6 +8199,7 @@ function run() {
81998199
core.setOutput('issue_number', output.issueNumber.toString());
82008200
}
82018201
catch (error) {
8202+
core.debug(error.stack);
82028203
core.setFailed(error.message);
82038204
}
82048205
});

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ async function run() {
4242
core.setOutput('issue_number', output.issueNumber.toString())
4343

4444
} catch (error) {
45+
core.debug(error.stack)
4546
core.setFailed(error.message)
4647
}
4748
}

0 commit comments

Comments
 (0)