Open capaj opened 4 months ago
Is there a more specific code example? I'm unable to reproduce this.
I hit this all the time with my discord bot on macOS Sonoma. I wrote my bot as a learning exercise for TypeScript, Discord, Websocket stuff. It's not really intended for anybody else to use but it is on GitHub: https://github.com/hippietrail/hippiebot.js Just run under node and disconnect from the WiFi and it'll soon crash like in the report. Under nodeJS it will wait for the network to come back.
What version of Bun is running?
1.0.29+a146856d1
What platform is your computer?
Ubuntu
What steps can reproduce the bug?
use official discord sdk and get an error I use it like this:
What is the expected behavior?
error handling works inside the SDK
What do you see instead?
Additional information
I have the codebase in private github repo and will gladly share it with anyone from bun team.