You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unsure if this is the right place for this, but upon running this:
let client = LemmyClient::new(ClientOptions{domain:String::from("hexbear.net"),secure:true});let logininfo = Login{username_or_email:SensitiveString::from(env::var("bot_username").unwrap()),password:SensitiveString::from(env::var("bot_password").unwrap()),totp_2fa_token:None};
client.login(logininfo).await.unwrap();
the thread panics on unwrapping client.login(logininfo).await with the message: called Result::unwrap()on anErr value: Unknown("error sending request for url (https://hexbear.net/api/v3/user/login)")
the error message from login is just Unknown
If I could get some guidance with this or if more verbose logging for errors could be added that would be ideal.
The text was updated successfully, but these errors were encountered:
I published a new lemmy-client version that has @airblast-dev's fix. If that still doesn't work for you, I reccomend using 0.19.3 for the time being until Hexbear upgrades.
I'm unsure if this is the right place for this, but upon running this:
the thread panics on unwrapping
client.login(logininfo).await
with the message:called
Result::unwrap()on an
Errvalue: Unknown("error sending request for url (https://hexbear.net/api/v3/user/login)")
the error message from login is just
Unknown
If I could get some guidance with this or if more verbose logging for errors could be added that would be ideal.
The text was updated successfully, but these errors were encountered: