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

Bug: api do not return correct timeout error TimeoutError -> Timeout #44

Open
Zerka30 opened this issue Aug 10, 2023 · 1 comment
Open

Comments

@Zerka30
Copy link

Zerka30 commented Aug 10, 2023

Hi 👋

The API does not return the timeout error associated with this wrapper when the URL is triggered.
This is due to the fact that socketio returns its own timeout errors, and since no check is performed on the _call() function, the wrapper will return socketio's error.

Which is a shame when you're making custom errors, and cost me 2 hours :D

@lucasheld
Copy link
Owner

Sorry :D
However, I had to introduce custom errors for timeouts because I also use them apart from socketio. I forgot it here, thank you.

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

2 participants