satman: fix error messages

This commit is contained in:
Sebastien Bourdeauducq 2018-09-11 20:10:52 +08:00
parent 36e3fedfc6
commit 5439abaa9d

View File

@ -70,12 +70,12 @@ impl Repeater {
return;
}
if let Err(e) = self.load_routing_table(routing_table) {
error!("[REP#{}] failed to sync TSC ({})", self.repno, e);
error!("[REP#{}] failed to load routing table ({})", self.repno, e);
self.state = RepeaterState::Failed;
return;
}
if let Err(e) = self.set_rank(rank + 1) {
error!("[REP#{}] failed to sync TSC ({})", self.repno, e);
error!("[REP#{}] failed to set rank ({})", self.repno, e);
self.state = RepeaterState::Failed;
return;
}