You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't too much of a concern, but if the query param is passed into client.query as null, node crashes and the callback is never made. For instance:
I had this too, just a day ago. I passed undefined.
We could just assert(query != null) as passing such value is a developer error.
Before you pass a query, you should check it is a valid one. Either by having no code-path that creates an undefined/null query, or just placing some if statement or such.
This isn't too much of a concern, but if the query param is passed into client.query as null, node crashes and the callback is never made. For instance:
Produces:
The text was updated successfully, but these errors were encountered: