File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -146,17 +146,18 @@ impl SubmitTask {
146
146
let result = loop {
147
147
debug ! ( retries = bumpable. bump_count( ) , nonce = ?req. nonce, "attempting transaction send" ) ;
148
148
149
- let inbound_result = match self . send_transaction ( req. clone ( ) ) . await {
150
- Ok ( control_flow) => control_flow,
151
- Err ( error) => {
152
- if let Some ( value) = self . slot_still_valid ( expected_slot) {
153
- return value;
149
+ let inbound_result =
150
+ match self . send_transaction ( req. clone ( ) ) . instrument ( span. clone ( ) ) . await {
151
+ Ok ( control_flow) => control_flow,
152
+ Err ( error) => {
153
+ if let Some ( value) = self . slot_still_valid ( expected_slot) {
154
+ return value;
155
+ }
156
+ // Log error and retry
157
+ error ! ( %error, "error handling inbound block" ) ;
158
+ ControlFlow :: Retry
154
159
}
155
- // Log error and retry
156
- error ! ( %error, "error handling inbound block" ) ;
157
- ControlFlow :: Retry
158
- }
159
- } ;
160
+ } ;
160
161
161
162
match inbound_result {
162
163
ControlFlow :: Retry => {
You can’t perform that action at this time.
0 commit comments