Skip to content

Conversation

andreiFiodorov
Copy link
Contributor

The utils create-validation-error.ts not parse the error:

{
  name: 'ValidationError',
  data: { email: 'Invalid email address' }
}

In the future, I think there will still be errors that he will fail to parse.

@dziraf
Copy link
Contributor

dziraf commented Feb 24, 2022

Is this a different format for mongoose errors? Could you give more context so I can reproduce before merging?

@fyodorovandrei
Copy link

fyodorovandrei commented Mar 9, 2022

@dziraf Sorry, but I cannot have access to the old account and code to get more details about error. I remember badly, but this fix is for parse ValidatioErrors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants