Skip to content

Commit 71a6fce

Browse files
authored
core: Update "core.error" documentation (actions#905)
Change the `core.error` documentation to say that it won't automatically fail the action. This matches the existing example in the "logging" section
1 parent 34577b2 commit 71a6fce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ const result = await core.group('Do something async', async () => {
121121

122122
This library has 3 methods that will produce [annotations](https://docs.github.com/en/rest/reference/checks#create-a-check-run).
123123
```js
124-
core.error('This is a bad error. This will also fail the build.')
124+
core.error('This is a bad error, action may still succeed though.')
125125

126126
core.warning('Something went wrong, but it\'s not bad enough to fail the build.')
127127

0 commit comments

Comments
 (0)