Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
crlssn committed Jan 10, 2025
1 parent 42811ab commit ec9f10b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/http/requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ const tryCatch = async <T>(fn: () => Promise<T>): Promise<T | void> => {
}
}

// DEBT: Filter out some error codes to alert the user until we have a better way to handle errors.
// DEBT: Filter out some error codes to alert the user until we have a better way to handle them.
const ignoredCodes: Code[] = [Code.Unauthenticated, Code.Unavailable, Code.Canceled]
if (!ignoredCodes.includes(error.code)) {
alert(`${error.code}: ${error.message}`)
Expand Down

0 comments on commit ec9f10b

Please sign in to comment.