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
This code throws JSONDecodeError
JSONDecodeError
trakt.init(client_id='', client_secret='', store=True)
this library should catch and re-throw as an exception owned by this library.
so applications using this library can do "catch all trakt exceptions":
client_id = click.prompt(PROMPT_TRAKT_CLIENT_ID, type=str) client_secret = click.prompt(PROMPT_TRAKT_CLIENT_SECRET, type=str) try: return trakt.init(client_id=client_id, client_secret=client_secret, store=True) except TraktException as e: click.echo(error(f"Log in to Trakt failed: {e}, Try again."))
The text was updated successfully, but these errors were encountered:
Merged in my fork:
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
This code throws
JSONDecodeError
this library should catch and re-throw as an exception owned by this library.
so applications using this library can do "catch all trakt exceptions":
The text was updated successfully, but these errors were encountered: