Skip to content

Commit

Permalink
Throw error instead of silent return undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
chiliec committed Jun 22, 2024
1 parent f377296 commit 18d3394
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/frontend/src/components/CNFT.vue
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ async function parseCNFT(wallet: string) {
const message = (error as Error)?.message;
if (message.includes("400 Bad Request")) {
eligible.value = false;
throw error;
} else {
showError(error);
}
Expand Down

0 comments on commit 18d3394

Please sign in to comment.