We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Image is uploaded successfully and websocket is closed
Image is uploaded successfully (almost always) but websocket is never closed
I've tried to debug and found one issue, but I'm not sure if it will help: This condition: https://github.com/Starcounter/starcounter-upload/blob/master/starcounter-upload.html#L224 is always false. The reason is that evt.data is a string, not a JSON object. evt.data should be parsed first.
evt.data
Even without it onclose is always called, so I'm not sure if it will help with this issue.
onclose
cc @miyconst @warpech
The text was updated successfully, but these errors were encountered:
Update: It is closed, but the condition in l224 is never true. should be removed or rewritten.
Sorry, something went wrong.
No branches or pull requests
Steps to reproduce
Expected result
Image is uploaded successfully and websocket is closed
Actual result
Image is uploaded successfully (almost always) but websocket is never closed
Screenshot
I've tried to debug and found one issue, but I'm not sure if it will help:
This condition: https://github.com/Starcounter/starcounter-upload/blob/master/starcounter-upload.html#L224 is always false. The reason is that
evt.data
is a string, not a JSON object.evt.data
should be parsed first.Even without it
onclose
is always called, so I'm not sure if it will help with this issue.cc @miyconst @warpech
The text was updated successfully, but these errors were encountered: