Skip to content

Add Error Handling in the Sample Action#132

Merged
threeal merged 2 commits into
mainfrom
add-error-handling
Dec 9, 2023
Merged

Add Error Handling in the Sample Action#132
threeal merged 2 commits into
mainfrom
add-error-handling

Conversation

@threeal
Copy link
Copy Markdown
Owner

@threeal threeal commented Dec 9, 2023

This pull request introduces the following changes:

  • Wrap sample action inside an asynchronous main function.
  • Add an error handling by passing error from the main function to the core.setFailed function.

It closes #131.

@threeal threeal self-assigned this Dec 9, 2023
@threeal threeal added the enhancement New feature or request label Dec 9, 2023
@threeal threeal added this to the Version 1.1.0 milestone Dec 9, 2023
@threeal threeal marked this pull request as ready for review December 9, 2023 15:05
@threeal threeal merged commit ee12fee into main Dec 9, 2023
@threeal threeal deleted the add-error-handling branch December 9, 2023 15:07
@threeal threeal modified the milestones: Version 1.1.0, Version 1.3.0 Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Error Handling in the Sample Action

1 participant