Skip to content

Commit

Permalink
More log output if Bonsai workflow fails
Browse files Browse the repository at this point in the history
  • Loading branch information
intoverflow committed Dec 16, 2023
1 parent a08b13d commit 2b7186a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion host/src/bin/op-derive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,11 @@ async fn main() -> Result<()> {
);
}
} else {
panic!("Workflow exited: {}", res.status);
panic!(
"Workflow exited: {} - | err: {}",
res.status,
res.error_msg.unwrap_or_default()
);
}

break;
Expand Down
6 changes: 5 additions & 1 deletion host/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,11 @@ where
);
}
} else {
panic!("Workflow exited: {}", res.status);
panic!(
"Workflow exited: {} - | err: {}",
res.status,
res.error_msg.unwrap_or_default()
);
}

break;
Expand Down

0 comments on commit 2b7186a

Please sign in to comment.