Error log on arm failure
This commit is contained in:
parent
2a57ecbd87
commit
635be2c35a
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ impl FailSafe {
|
|||
}
|
||||
State::Armed(c) => {
|
||||
if c.session_mode != session_mode {
|
||||
error!("Received Fail-Safe Arm with different session modes; current {:?}, incoming {:?}", c.session_mode, session_mode);
|
||||
return Err(Error::Invalid);
|
||||
}
|
||||
// re-arm
|
||||
|
|
Loading…
Add table
Reference in a new issue