Skip to content

Commit

Permalink
feat: Add error context to executors_handler
Browse files Browse the repository at this point in the history
  • Loading branch information
morgsmccauley committed Jun 11, 2024
1 parent a7ec431 commit d57ff58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion coordinator/src/executors_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ impl ExecutorsHandlerImpl {
.client
.clone()
.stop_executor(Request::new(request.clone()))
.await?;
.await
.context(format!("Failed to stop executor: {executor_id}"))?;

tracing::debug!(executor_id, "Stop executor response: {:#?}", response);

Expand Down

0 comments on commit d57ff58

Please sign in to comment.