(pl: integration_pb::LocationEvent)
| 350 | } |
| 351 | |
| 352 | async fn location_event(pl: integration_pb::LocationEvent) { |
| 353 | let integration = INTEGRATION.read().await; |
| 354 | if let Err(e) = integration.as_ref().unwrap().location_event(&pl).await { |
| 355 | error!(error = %e, "Location event error"); |
| 356 | } |
| 357 | } |
| 358 | |
| 359 | #[cfg(test)] |
| 360 | mod test { |
no test coverage detected