From 0624130cda443ece1b508c94878d63289ed52d1d Mon Sep 17 00:00:00 2001 From: "Joseph T. Lyons" Date: Sun, 2 Feb 2025 16:21:20 -0500 Subject: [PATCH] Replace another location --- crates/client/src/telemetry.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/client/src/telemetry.rs b/crates/client/src/telemetry.rs index 7af06ebb00746c..9cb2361f31f404 100644 --- a/crates/client/src/telemetry.rs +++ b/crates/client/src/telemetry.rs @@ -285,7 +285,7 @@ impl Telemetry { // TestAppContext ends up calling this function on shutdown and it panics when trying to find the TelemetrySettings #[cfg(not(any(test, feature = "test-support")))] fn shutdown_telemetry(self: &Arc) -> impl Future { - self.report_app_event("App Closed".to_string()); + telemetry::event!("App Closed"); // TODO: close final edit period and make sure it's sent Task::ready(()) }