Skip to content

Commit

Permalink
Quick fix for the validation
Browse files Browse the repository at this point in the history
  • Loading branch information
ikprk committed Jun 27, 2024
1 parent c230cb9 commit 791e86d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/atlas/src/hooks/useYppModalHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ export const useYppModalHandlers = () => {
displaySnackbar({
iconType: 'error',
title: 'Ops, something went wrong',
description: e.response.data.message ?? `We couldn't verify your ownership. Please, try again.`,
description:
JSON.stringify(e.response.data.message.map((err: { message: string }) => err.message).join(', \n')) ??
`We couldn't verify your ownership. Please, try again.`,
})
SentryLogger.error('Error validating YT ownership', 'useYppSetupModalHandlers', e)
throw e
Expand Down

0 comments on commit 791e86d

Please sign in to comment.