mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-19 07:19:45 +02:00
Better reflect failure UI
This commit is contained in:
@@ -100,7 +100,7 @@ async fn cmd_grpc_reflect(
|
||||
.await
|
||||
.map_err(|e| e.to_string())?;
|
||||
let uri = safe_uri(&req.url).map_err(|e| e.to_string())?;
|
||||
Ok(grpc::reflect(&uri).await)
|
||||
grpc::reflect(&uri).await
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
@@ -150,7 +150,7 @@ async fn cmd_grpc_call_unary(
|
||||
.lock()
|
||||
.await
|
||||
.connect(&conn.clone().id, uri)
|
||||
.await
|
||||
.await?
|
||||
.unary(
|
||||
&req.service.unwrap_or_default(),
|
||||
&req.method.unwrap_or_default(),
|
||||
|
||||
Reference in New Issue
Block a user