yourWaifu / sleepy-discord

C++ library for the Discord chat client. Please use Rust for new bots
https://yourWaifu.github.io/sleepy-discord/
MIT License
707 stars 92 forks source link

Preventing crash if onError is handled? #213

Closed TheDreamsWind closed 3 years ago

TheDreamsWind commented 3 years ago

Is there a way to prevent http client calling "abort()" whenever some request is malfunctioning and keep the client running instead? Would be handy to keep the bot up sometimes and just checking working logs, especially if onError function is overriden

yourWaifu commented 3 years ago

No, check out the docs for more info about this. https://yourwaifu.dev/sleepy-discord/docs/requests#handling-error-responses https://yourwaifu.dev/sleepy-discord/docs/requests/#casting