SNOW-1658878: Unhandled Rejection at Promise The "callback" argument must be of type function. Received undefined #907
Labels
bug
Something isn't working
status-fixed_awaiting_release
The issue has been fixed, its PR merged, and now awaiting the next release cycle of the connector.
status-triage_done
Initial triage done, will be further handled by the driver team
Please answer these questions before submitting your issue.
In order to accurately debug the issue this information is required. Thanks!
~1.10.0 in package.json
1.10.1 in package-lock.json
linux/amd64
(
node --version
andnpm --version
)v20.14.0
10.7.0
npm list
)?[email protected]
n/a
What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
Issue happening to a user. Haven't been able to reproduce with our credentials.
You can inspect how we are using the client in our repo: https://github.com/lightdash/lightdash/blob/main/packages/warehouses/src/warehouseClients/SnowflakeWarehouseClient.ts
We get the error:
I looked into your code and looks like you are not passing the
callback
as an argument forself.heartbeat
https://github.com/snowflakedb/snowflake-connector-nodejs/blame/master/lib/connection/connection.js#L179
Looks like this bug was introduced in this PR: #502
What did you expect to see?
What should have happened and what happened instead?
No error.
Will provide later
The text was updated successfully, but these errors were encountered: