When the Client ID is not provided, the following misleading error is displayed:
Expected Behavior
Instead of a User not found error message, the expected behavior is that a more meaningful error message would be displayed such as Client ID has not been provided.
Environment
Operating System: Ubuntu 22.04
Additional Context
Note: This issue is to only fix the issue where the Client ID has not been provided. A separate issue will be created to handle the case where an invalid Client ID has been provided.
For any questions or discussions, join the Discord to meet and engage with other contributors!
Bug Description
This project requires a MyAnimeList Client ID in order to fetch the required data from the API. https://github.com/jmakhack/myanimelist-cli/blob/61f91c22a837838b138ea0c35b8c947eda66b1aa/src/mya.c#L12
When the Client ID is not provided, the following misleading error is displayed:
Expected Behavior
Instead of a
User not found
error message, the expected behavior is that a more meaningful error message would be displayed such asClient ID has not been provided
.Environment
Operating System: Ubuntu 22.04
Additional Context
Note: This issue is to only fix the issue where the Client ID has not been provided. A separate issue will be created to handle the case where an invalid Client ID has been provided.
For any questions or discussions, join the Discord to meet and engage with other contributors!