Skip to content
This repository has been archived by the owner on Dec 27, 2019. It is now read-only.

Cannot read property 'sync' of undefined #50

Open
rarajks opened this issue Feb 25, 2019 · 0 comments
Open

Cannot read property 'sync' of undefined #50

rarajks opened this issue Feb 25, 2019 · 0 comments

Comments

@rarajks
Copy link

rarajks commented Feb 25, 2019

Receiving the below error sometimes which causes the process to exit. Not able to reproduce always

TypeError: Cannot read property 'sync' of undefined at PostgresQuery.QueryStream.handleError (/opt/cnmaestro-server/deploy/node_modules/pg-query-stream/index.js:105:19) at PostgresQuery.handleError (/opt/cnmaestro-server/deploy/node_modules/any-db-postgres/index.js:84:27) at process.nextTick (/opt/cnmaestro-server/deploy/node_modules/pg/lib/client.js:464:13) at args.(anonymous function) (/usr/lib/node_modules/pm2/node_modules/event-loop-inspector/index.js:138:29) at _combinedTickCallback (internal/process/next_tick.js:132:7) at process._tickDomainCallback (internal/process/next_tick.js:219:9)

Is it a known issue? Any help would be great. The version of pg-query-stream which we are using is 0.2.0 (dependency of [email protected])

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

No branches or pull requests

1 participant