Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions monarch_hyperactor/src/v1/actor_mesh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,11 @@ impl PythonActorMeshImpl {
.extract::<i32>()
.unwrap();
tracing::error!(
name = "ActorMeshStatus",
status = "SupervisionError::UnhandledFaultHook",
actor_name = failure.mesh_name,
event = %failure.event,
rank = failure.rank,
"unhandled event reached unhandled_fault_hook: {}, which is exiting the process with code {}",
failure,
code
Expand All @@ -275,6 +280,11 @@ impl PythonActorMeshImpl {
// The callback raised some other exception, and there's
// no way to handle it. Just exit the process anyways
tracing::error!(
name = "ActorMeshStatus",
status = "SupervisionError::UnhandledFaultHook",
actor_name = failure.mesh_name,
event = %failure.event,
rank = failure.rank,
"unhandled event reached unhandled_fault_hook: {}, which raised an exception: {:?}. \
Exiting the process with code 1",
failure,
Expand All @@ -284,6 +294,11 @@ impl PythonActorMeshImpl {
}
} else {
tracing::warn!(
name = "ActorMeshStatus",
status = "SupervisionError::UnhandledFaultHook",
actor_name = failure.mesh_name,
event = %failure.event,
rank = failure.rank,
"unhandled event reached unhandled_fault_hook: {}, but that function produced no exception or crash. Ignoring the error",
failure
);
Expand Down