Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
ThetaSinner committed Sep 18, 2024
1 parent e7c77f1 commit f1be5db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bindings/client/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ pub fn handle_api_err(err: ConductorApiError) -> anyhow::Error {
match err {
// Handle websocket closed errors by shutting down the process, as this is a fatal error
// for this agent.
ConductorApiError::WebsocketError(holochain_websocket::WebsocketError::Close(_)) =>
{
ConductorApiError::WebsocketError(holochain_websocket::WebsocketError::Close(_)) => {
AgentBailError::default().into()
}
_ => anyhow::anyhow!("Conductor API error: {:?}", err),
Expand Down

0 comments on commit f1be5db

Please sign in to comment.