Skip to content

Commit

Permalink
chore(torture): print before collecting backtrace
Browse files Browse the repository at this point in the history
  • Loading branch information
pepyakin committed Feb 24, 2025
1 parent 4fe8ea0 commit a7f3956
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions torture/src/supervisor/workload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ impl Workload {
// If the workload timed out, we assume it's deadlocked. In that case it would be useful
// to collect the stack trace of the agent.
if matches!(result, Err(ref e) if is_err_timeout_like(e)) {
info!("workload timed out, collecting backtrace");
self.collect_and_display_backtrace().await;
}

Expand Down

0 comments on commit a7f3956

Please sign in to comment.