Skip to content

Commit

Permalink
desktop/proxy: Properly propagate PortalError
Browse files Browse the repository at this point in the history
Fixes #261
  • Loading branch information
bilelmoussaoui committed Jan 28, 2025
1 parent ee01a53 commit 730323d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ impl<'a> Proxy<'a> {
futures_util::try_join!(request.prepare_response(), async {
self.call_method(method_name, &body)
.await
.map_err::<PortalError, _>(From::from)
.map_err(From::from)
})?;
Ok(request)
Expand Down

0 comments on commit 730323d

Please sign in to comment.