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

fix error handling for decompressGzippedContent #327 #328

Conversation

kirill-ivlev
Copy link
Contributor

link to related issue: #327

description:
Promise rejection wrapped on the single if without else clause will not stop method execution in case of the error, any other statements which go after the if block will be also executed, which confuses some of IDEs and may cause error in the future

Copy link

@akrantz akrantz left a comment

Choose a reason for hiding this comment

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

Thanks for making the fix.

@alexander-smolyakov
Copy link

@mmrazik could you please review this PR?

@kirill-ivlev kirill-ivlev merged commit ac4e803 into microsoft:master May 25, 2022
@kirill-ivlev kirill-ivlev deleted the users-kirill-ivlev/fix-error-handling-for-decompressing-gzip branch May 25, 2022 12:49
ajuanjojjj pushed a commit to ajuanjojjj/typed-rest-client that referenced this pull request Jul 5, 2024
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

Successfully merging this pull request may close these issues.

5 participants