Skip to content

Commit ed92d25

Browse files
committed
monitor: print full error reports thrown by worker threads
1 parent 978c9a9 commit ed92d25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

monitor/src/image.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ impl Rebuilds {
150150
info!("Servo update thread exited");
151151
cached_servo_repo_was_just_updated = true;
152152
}
153-
Ok(Err(report)) => error!(%report, "Servo update thread error"),
153+
Ok(Err(report)) => error!(?report, "Servo update thread error"),
154154
Err(panic) => error!(?panic, "Servo update thread panic"),
155155
};
156156
} else {
@@ -230,7 +230,7 @@ impl Rebuilds {
230230
info!(profile_key, "Image rebuild thread exited");
231231
policy.set_base_image_snapshot(&profile_key, &rebuild.snapshot_name)?;
232232
}
233-
Ok(Err(report)) => error!(profile_key, %report, "Image rebuild thread error"),
233+
Ok(Err(report)) => error!(profile_key, ?report, "Image rebuild thread error"),
234234
Err(panic) => error!(profile_key, ?panic, "Image rebuild thread panic"),
235235
};
236236
} else {

0 commit comments

Comments
 (0)