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

Hnadle error without error message #102

Open
stucka opened this issue May 28, 2024 · 0 comments
Open

Hnadle error without error message #102

stucka opened this issue May 28, 2024 · 0 comments
Assignees

Comments

@stucka
Copy link
Collaborator

stucka commented May 28, 2024

Looks like maybe no data was returned, which would need to be tested for separately. Possibly set data to None before the call just to be certain.

if not data or if data['err']:

File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/bln/client.py", line 483, in _upload_file
uri, err = _get_upload_uri(endpoint, token, projectId, path)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/bln/client.py", line 509, in _get_upload_uri
if data["err"]:
TypeError: 'NoneType' object is not subscriptable
"""

@stucka stucka self-assigned this May 28, 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

No branches or pull requests

1 participant