Skip to content

Commit

Permalink
πŸ”‡ Do not show 404 in console error
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Sep 5, 2023
1 parent 7f00c6c commit ceccb54
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pages/view/_iscnId.vue
Original file line number Diff line number Diff line change
Expand Up @@ -855,8 +855,10 @@ export default class ViewIscnIdPage extends Vue {
this.isPreminted = !!data.classId
} catch (err) {
this.isPreminted = false
// eslint-disable-next-line no-console
console.error(err)
if ((err as any).response?.status !== 404) {
// eslint-disable-next-line no-console
console.error(err);
}
}
}
}
Expand Down

0 comments on commit ceccb54

Please sign in to comment.