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

Error handling for API requests? #45

Open
AaronMeyers opened this issue Jan 31, 2019 · 2 comments
Open

Error handling for API requests? #45

AaronMeyers opened this issue Jan 31, 2019 · 2 comments

Comments

@AaronMeyers
Copy link

Sorry if I missed it, but is there some way to handle errors/timeouts with calls to the Twitch API using the API class?

I've noticed that if there is a timeout or a bad parameter, if using API.Invoke(), the callback function just never gets called and if using API.InvokeAsync, the coroutine just never gets beyond the yield return statement.

Is there a way to catch errors and timeouts or is this just something we're supposed to design around?

@bruinp8n
Copy link

I have the same issue??

@cai-tan
Copy link

cai-tan commented Apr 19, 2022

I'd also like to know how we're supposed to handle this...

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

3 participants