Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

handling JSON parsing possible error #433

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mateusm09
Copy link

No description provided.

@google-cla
Copy link

google-cla bot commented Aug 18, 2022

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link
Author

@mateusm09 mateusm09 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sometimes google's api server response with a HTML content instead of JSON. The lack of an error handling structure might break Node process

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

Successfully merging this pull request may close these issues.

None yet

1 participant