uptime-kuma-api
uptime-kuma-api copied to clipboard
Bug: api do not return correct timeout error TimeoutError -> Timeout
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
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.