Handle response error for ashpd fixing login edgecases (#44502)
Release Notes: - Fixed login fallbacks on Linux Co-authored-by: Julia Ryan <juliaryan3.14@gmail.com>
This commit is contained in:
co-authored by
Julia Ryan
parent
3180f44477
commit
736a712387
@@ -649,8 +649,9 @@ pub(super) fn open_uri_internal(
|
||||
.activation_token(activation_token.clone().map(ashpd::ActivationToken::from))
|
||||
.send_uri(&uri)
|
||||
.await
|
||||
.and_then(|e| e.response())
|
||||
{
|
||||
Ok(_) => return,
|
||||
Ok(()) => return,
|
||||
Err(e) => log::error!("Failed to open with dbus: {}", e),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user