Skip to content

Commit

Permalink
debug http binding paths
Browse files Browse the repository at this point in the history
  • Loading branch information
barraguda committed Jan 4, 2024
1 parent 015170f commit 61dcd52
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,10 @@ where
let resp: std::result::Result<(), HttpServerError> = serde_json::from_slice(&ipc)?;
resp.map_err(|e| anyhow::anyhow!(e))
}
_ => Err(anyhow::anyhow!("http_server: couldn't bind path")),
_ => Err(anyhow::anyhow!(
"http_server: couldn't bind path: {:?}",
res
)),
}
}

Expand Down Expand Up @@ -295,7 +298,10 @@ where
let resp: std::result::Result<(), HttpServerError> = serde_json::from_slice(&ipc)?;
resp.map_err(|e| anyhow::anyhow!(e))
}
_ => Err(anyhow::anyhow!("http_server: couldn't bind path")),
_ => Err(anyhow::anyhow!(
"http_server: couldn't bind path: {:?}",
res
)),
}
}

Expand Down

0 comments on commit 61dcd52

Please sign in to comment.