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: 🐛 fix issue that decrement fetch counter was called always #145

Merged
merged 2 commits into from
May 6, 2022

Conversation

maniator
Copy link
Contributor

@maniator maniator commented May 5, 2022

Basically the finally call of fetch was not only being called on
finally.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@maniator maniator requested a review from qhanam May 6, 2022 16:08
@maniator maniator force-pushed the fix-fetch-counter-bug branch 2 times, most recently from e556d92 to 39cf7ea Compare May 6, 2022 16:10
Basically the finally call of fetch was not only being called on
finally.
Copy link
Member

@qhanam qhanam left a comment

Choose a reason for hiding this comment

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

Nice, thank you!

@maniator
Copy link
Contributor Author

maniator commented May 6, 2022

Nice, thank you!

Happy to help :-)

@maniator
Copy link
Contributor Author

maniator commented May 6, 2022

@adebayor123 @qhanam

Good to merge? (I don't have the ability)

@qhanam qhanam merged commit c4414d9 into aws-observability:main May 6, 2022
@maniator maniator deleted the fix-fetch-counter-bug branch May 6, 2022 20:30
adebayor123 pushed a commit to adebayor123/aws-rum-web that referenced this pull request May 11, 2022
…ty#145)

* fix: 🐛 fix issue that decrement fetch counter was called always

Basically the finally call of fetch was not only being called on
finally.

* test: 💍 add test for fetchCounter update
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.

None yet

3 participants