Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled HTML response from GCP #20

Open
POD666 opened this issue Oct 4, 2022 · 0 comments
Open

Unhandled HTML response from GCP #20

POD666 opened this issue Oct 4, 2022 · 0 comments

Comments

@POD666
Copy link
Contributor

POD666 commented Oct 4, 2022

Sometimes GCP responds with html for errors, e.g. 404 when using a wrong topic name.

While it's easy to find and fix a typo in a topic name during development, sometimes unknown errors occur.

Here is all I see for an unexpected issue in sentry:
image

So, it would be nice to add handling for HTML responses from GCP.

Here and other methods:
https://github.com/sagi/workers-pubsub/blob/master/src/topics.js#L31

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

No branches or pull requests

1 participant