Misleading error message #1795
Labels
api: pubsub
Issues related to the googleapis/nodejs-pubsub API.
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Environment details
@google-cloud/pubsub
version: 3.5.0Steps to reproduce
I suspect that we are running into this behavior, but the error message does not seem indicative of that:
nodejs-pubsub/src/topic.ts
Lines 861 to 887 in 6c38e7b
I'm sorry I don't have a good, small reproduction case but here's effectively the code being run:
Here's a timestamp from Cloud Logging showing that the publish failed due to a timeout after 50 seconds only after less than a second of running:
I believe the error message is misleading and incorrect here.
The text was updated successfully, but these errors were encountered: