Skip to content

Commit 476e8ad

Browse files
committed
style: format exec.rs
1 parent cb639e9 commit 476e8ad

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/commands/exec.rs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,11 @@ fn connect_to_exec_server_with_retry(vsock_socket: &Path) -> Result<UnixStream>
7373
delay_ms = std::cmp::min(delay_ms * 2, 2000);
7474
continue;
7575
}
76-
bail!("Failed to send CONNECT command after {} attempts: {}", attempt, e);
76+
bail!(
77+
"Failed to send CONNECT command after {} attempts: {}",
78+
attempt,
79+
e
80+
);
7781
}
7882

7983
// Read the response - should be "OK <port>\n" on success
@@ -87,7 +91,11 @@ fn connect_to_exec_server_with_retry(vsock_socket: &Path) -> Result<UnixStream>
8791
delay_ms = std::cmp::min(delay_ms * 2, 2000);
8892
continue;
8993
}
90-
bail!("Failed to read CONNECT response after {} attempts: {}", attempt, e);
94+
bail!(
95+
"Failed to read CONNECT response after {} attempts: {}",
96+
attempt,
97+
e
98+
);
9199
}
92100
};
93101

0 commit comments

Comments
 (0)