Skip to content

Commit 7fa83f2

Browse files
author
picklerick2349
committed
Adding comment when it crashes in shred_update_loop in sampler.rs
1 parent de8d3a3 commit 7fa83f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tinydancer/src/sampler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ async fn shred_update_loop(
330330
{
331331
let mut status = status_sampler.lock().unwrap();
332332
if let ClientStatus::Crashed(_) = &*status {
333-
return Err(anyhow!(""));
333+
return Err(anyhow!("Client crashed"));
334334
} else {
335335
*status = ClientStatus::Active(String::from(
336336
"Monitoring Tinydancer: Actively Sampling Shreds",

0 commit comments

Comments
 (0)