Skip to content

Commit

Permalink
chore: fixed logs
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Sep 13, 2024
1 parent 83b507c commit 2d89d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default run()
return result;
})
.catch(async (e) => {
const errorMessage = logger.error(`Failed to run comment evaluation. ${e.logMessage?.raw || e}`, e);
const errorMessage = logger.error(`Failed to run comment evaluation. ${e?.logMessage?.raw || e}`, e);
try {
await githubCommentModuleInstance.postComment(
`${errorMessage?.logMessage.diff}\n<!--\n${getGithubWorkflowRunUrl()}\n${JSON.stringify(errorMessage?.metadata, null, 2)}\n-->`
Expand Down

0 comments on commit 2d89d4e

Please sign in to comment.