Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredperreault-okta committed Jun 13, 2024
1 parent 6edcced commit 3c46ff6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,10 @@ function getTokens(options = {}) {
function getKeySet() {
return fetch(ISSUER + '/v1/keys')
.then(response => {
if (response.ok) {
return response.json();
if (!response.ok) {
throw new Error('Failed to get keys');
}
return response.json();
});
}

Expand Down

0 comments on commit 3c46ff6

Please sign in to comment.