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 upload progress issue #6550 #6618

Open
wants to merge 3 commits into
base: v1.x
Choose a base branch
from

Conversation

ritik7739
Copy link

Fix onUploadProgress Behavior

This PR addresses the issue where the onUploadProgress callback logs progress information even after the upload request has completed or failed.

Changes Made:

  • Introduced a flag isUploading to control when progress logs are printed.
  • The progress logs will now only print during the upload process, preventing unwanted logs after completion or failure.

Related Issue:

Fixes #6550

@ritik7739 ritik7739 closed this Oct 7, 2024
@ritik7739 ritik7739 reopened this Oct 7, 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.

"onUploadProgress" executes again when the request completed or failed
1 participant