(pl: integration_pb::LogEvent)
| 343 | } |
| 344 | |
| 345 | async fn log_event(pl: integration_pb::LogEvent) { |
| 346 | let integration = INTEGRATION.read().await; |
| 347 | if let Err(e) = integration.as_ref().unwrap().log_event(&pl).await { |
| 348 | error!(error = %e, "Log event error"); |
| 349 | } |
| 350 | } |
| 351 | |
| 352 | async fn location_event(pl: integration_pb::LocationEvent) { |
| 353 | let integration = INTEGRATION.read().await; |