Skip to content

Commit

Permalink
eprintln -> error
Browse files Browse the repository at this point in the history
  • Loading branch information
jmpesp committed May 10, 2023
1 parent bc0ba2d commit 473cf73
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions agent/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -880,9 +880,9 @@ fn worker(
}
}
_ => {
eprintln!(
"worker got unexpected region state: {:?}",
r
error!(
log,
"worker got unexpected region state: {:?}", r
);
std::process::exit(1);
}
Expand Down Expand Up @@ -934,7 +934,8 @@ fn worker(
}

_ => {
eprintln!(
error!(
log,
"worker got unexpected running snapshot state: {:?}",
rs,
);
Expand Down

0 comments on commit 473cf73

Please sign in to comment.