forked from M-Labs/artiq
1
0
Fork 0

satman: fix error messages

This commit is contained in:
Sebastien Bourdeauducq 2018-09-11 20:10:52 +08:00
parent 36e3fedfc6
commit 5439abaa9d
1 changed files with 2 additions and 2 deletions

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;
}