Skip to content

Commit 29bd765

Browse files
committed
Try to fix error.
1 parent 46debed commit 29bd765

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34664,6 +34664,6 @@ class ValidationError extends Error {
3466434664

3466534665
action().catch((error) => {
3466634666
// Action threw an error. Fail the action with the error message.
34667-
core.setFailed(`${error.message} ${JSON.stringify(error)}`);
34667+
core.setFailed(`${error.message} ${error}`);
3466834668
});
3466934669

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ import { action } from "./src/action.js";
33

44
action().catch((error) => {
55
// Action threw an error. Fail the action with the error message.
6-
core.setFailed(`${error.message} ${JSON.stringify(error)}`);
6+
core.setFailed(`${error.message} ${error}`);
77
});

0 commit comments

Comments
 (0)