Describe the bug
When the authentication token has expired, woffu-cli get-status returns the following error:
woffu-cli get-status
:x: Error retrieving status: 'str' object has no attribute 'get'
To Reproduce
Steps to reproduce the behavior:
- Make sure you have an invalid or expired token in your config file
- Execute
woffu-cli get-status
- See error
Expected behavior
The CLI should tell the user that the token has expired and prompt it to re-create it.
Screenshots
None
Desktop (please complete the following information):
- OS: Ubuntu 22.04
- Browser: None
- Version 0.1.7
Additional context
None
Describe the bug
When the authentication token has expired,
woffu-cli get-statusreturns the following error:To Reproduce
Steps to reproduce the behavior:
woffu-cli get-statusExpected behavior
The CLI should tell the user that the token has expired and prompt it to re-create it.
Screenshots
None
Desktop (please complete the following information):
Additional context
None