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

TypeError: Cannot read property 'then' of undefined #121

Closed
keroic opened this issue Apr 23, 2019 · 1 comment · Fixed by #122
Closed

TypeError: Cannot read property 'then' of undefined #121

keroic opened this issue Apr 23, 2019 · 1 comment · Fixed by #122
Labels

Comments

@keroic
Copy link

keroic commented Apr 23, 2019

I am trying to use 2.3.1 Release to use MySQL Pool getConnection function, but seems it throw the error and exit my application.

TypeError: Cannot read property 'then' of undefined
Pool.patchedGetConnection [as getConnection] (/usr/src/app/node_modules/aws-xray-sdk-mysql/lib/mysql_p.js:111:16)
at Promise

Anything I missed to config? :-(

@chrisradek
Copy link
Contributor

@keroic
This looks related to #120
We merged that in yesterday, I'll cut a release today that includes this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants