Closed kpcyrd closed 4 years ago
This is expected if you're using the old API (IrcClient::from_config
and IrcClient::new
). As far as I can tell, there's no obvious way to resolve this with that API setup, but if you use the IrcReactor
API (or IrcClient::new_future
) directly, as shown in the README, these errors should bubble out from IrcReactor::run
and thus can be handled by user code.
I just noticed I still had a project running that was connected using the irc crate and apparently a thread panic'ed while switching networks during the day:
The relevant code seems to be: