Skip to content

Commit 32e33dc

Browse files
authored
fix: fix error handling (#841)
1 parent 1977c44 commit 32e33dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import * as main from './main';
88
if (error instanceof Error) {
99
core.setFailed(`Action failed with "${error.message}"`);
1010
} else {
11-
throw new Error('unexpected error');
11+
core.setFailed('unexpected error');
1212
}
1313
}
1414
})();

0 commit comments

Comments
 (0)