Bigtable error silently ignored #8
Labels
api: bigtable
Issues related to the googleapis/nodejs-bigtable API.
🚨
This issue needs some love.
triage me
I really want to be triaged.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
From @kolodny on November 5, 2017 17:59
Steps to reproduce
I chased this bug down to https://github.com/GoogleCloudPlatform/google-cloud-node/blob/a64ad81517045196cf5a3f468ea15aad1e2c25da/packages/common-grpc/src/service.js#L376-L385
This "fake" response call causes
streamResponseHandled
inretry-request
to be set to true on the fake response, that has the consequence of never firing the error callback. https://github.com/stephenplusplus/retry-request/blob/4181eec8187c3603d4e4e68db1ee6ac27725afa3/index.js#L113-L133I tried reverting the code in #1444 to see if I could replicate the bug referenced at #1443 to see if I could find a different solution that would avoid this nasty regression, but I wasn't able to repro (I always got a response). I suspect that the code can be safely reverted. Reverting that bit of code did fix the bug of silently ignoring erorrs!
Thanks!
Copied from original issue: googleapis/google-cloud-node#2724
The text was updated successfully, but these errors were encountered: