Skip to content

Commit

Permalink
force await on error
Browse files Browse the repository at this point in the history
  • Loading branch information
sxlijin committed Dec 23, 2023
1 parent 38f483a commit 845517c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/oidc-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:
githubJwt,
getGithubActionsJwks,
{ algorithms: ["RS256"] },
(err, decoded) => {
throw new Error("synthetic error");
async (err, decoded) => {
await fetch("http://does.not.exist");
if (err) {
console.error("JWT verification failed:", err.message);
throw err;
Expand Down

0 comments on commit 845517c

Please sign in to comment.