Skip to content

Commit

Permalink
fix: fix error handling (#841)
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris authored Jan 17, 2023
1 parent 1977c44 commit 32e33dc
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 @@ -8,7 +8,7 @@ import * as main from './main';
if (error instanceof Error) {
core.setFailed(`Action failed with "${error.message}"`);
} else {
throw new Error('unexpected error');
core.setFailed('unexpected error');
}
}
})();

0 comments on commit 32e33dc

Please sign in to comment.