HumanBrainProject / ebrains-storage

Python client interface for EBRAINS Collaboratory Drive (Seafile) and Bucket (data-proxy) storage
Apache License 2.0
8 stars 3 forks source link

Error handling for invalid username and password #9

Closed appukuttan-shailesh closed 2 years ago

appukuttan-shailesh commented 2 years ago

For invalid username and password, we currently get an unhelpful error message:

KeyError: 'access_token'

We should catch this error and return a more meaningful message to the user. @Cracky5457 : could you include this as part of your current changes? If not, I can create a separate PR.