Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read length of undefined after retry errors #10453

Open
1 of 18 tasks
simplenotezy opened this issue Oct 21, 2023 · 0 comments
Open
1 of 18 tasks

Cannot read length of undefined after retry errors #10453

simplenotezy opened this issue Oct 21, 2023 · 0 comments

Comments

@simplenotezy
Copy link
Contributor

simplenotezy commented Oct 21, 2023

Issue description

Cannot read length of undefined on retry errors

Expected Behavior

We just upgraded TypeORM to get this feature: #10032

If it fails after retrying 5 times it should probably throw a specific error - or the failed error.

Actual Behavior

It appears that when it fails after trying to retrying 5 times, it will return error:

Exception has occurred: TypeError: Cannot read properties of undefined (reading 'length')
image

Steps to reproduce

It's difficult

My Environment

Dependency Version
Operating System
Node.js version v18.18.0
TypeORM version 0.3.17

Additional Context

No response

Relevant Database Driver(s)

  • aurora-mysql
  • aurora-postgres
  • better-sqlite3
  • cockroachdb
  • cordova
  • expo
  • mongodb
  • mysql
  • nativescript
  • oracle
  • postgres
  • react-native
  • sap
  • spanner
  • sqlite
  • sqlite-abstract
  • sqljs
  • sqlserver

Are you willing to resolve this issue by submitting a Pull Request?

No, I don’t have the time and I’m okay to wait for the community / maintainers to resolve this issue.

@simplenotezy simplenotezy changed the title Cannot read length of undefined Cannot read length of undefined after retry errors Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant