Closed mrodz closed 4 months ago
If for whatever reason, a panic occurs in the schedule command: https://github.com/mrodz/fieldz-desktop/blob/e8847c3e87aa53ec91068969fb6c6ebcb74e4a00/desktop/src/bridge.rs#L655 ... the client will not be notified and the error will not be logged, which is less than ideal.
schedule
panic!()
unreachable!()
.unwrap()
.expect()
If for whatever reason, a panic occurs in the
schedule
command: https://github.com/mrodz/fieldz-desktop/blob/e8847c3e87aa53ec91068969fb6c6ebcb74e4a00/desktop/src/bridge.rs#L655 ... the client will not be notified and the error will not be logged, which is less than ideal.panic!()
,unreachable!()
,.unwrap()
, and.expect()
in this function with Errors.