diff --git a/packages/atlas/src/components/_inputs/MultiFileSelect/MultiFileSelect.tsx b/packages/atlas/src/components/_inputs/MultiFileSelect/MultiFileSelect.tsx index e4d36660f1..debb9b328e 100644 --- a/packages/atlas/src/components/_inputs/MultiFileSelect/MultiFileSelect.tsx +++ b/packages/atlas/src/components/_inputs/MultiFileSelect/MultiFileSelect.tsx @@ -195,7 +195,7 @@ export const MultiFileSelect: FC = memo( } else if (errorCode === 'file-too-large') { setError('File too large') } else { - SentryLogger.error('Unknown file select error', 'MultiFileSelect', null, { error: { code: errorCode } }) + SentryLogger.error('Unknown file select error', 'MultiFileSelect', null, { parsedError: { code: errorCode } }) setError('Unknown error') } }, []) diff --git a/packages/atlas/src/hooks/useCreateMember.ts b/packages/atlas/src/hooks/useCreateMember.ts index 82e5c26db2..075e94b535 100644 --- a/packages/atlas/src/hooks/useCreateMember.ts +++ b/packages/atlas/src/hooks/useCreateMember.ts @@ -146,7 +146,9 @@ export const useCreateMember = () => { const errorCode = isAxiosError(error) ? error.response?.data?.error : null - SentryLogger.error('Failed to create a membership', 'SignUpModal', error, { error: { errorCode } }) + SentryLogger.error(`Failed to create a membership ${ytResponseData ? 'YPP' : ''}`, 'SignUpModal', error, { + parsed: { errorCode }, + }) switch (errorCode) { case 'TooManyRequestsPerIp':