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

Open
opened 2023-08-10 11:57:08 +02:00 by Zerka30 · 1 comment
Zerka30 commented 2023-08-10 11:57:08 +02:00 (Migrated from github.com)

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

Hi :wave: 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 commented 2023-08-12 17:12:02 +02:00 (Migrated from github.com)

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.

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 in to join this conversation.
No description provided.