Checking in progress, though not fully working as expected

This commit is contained in:
Ryan Ward
2026-07-27 11:41:20 -05:00
parent 856a6cd6f3
commit 309000a303
51 changed files with 74 additions and 3315 deletions
+1 -11
View File
@@ -25,17 +25,7 @@ impl ipc::ServiceImpl for LogServiceImpl {
let log_fn = || {
log::log!(target: target.as_str(), level, "{message}");
};
cfg_if::cfg_if! {
if #[cfg(feature = "crash_reporting")] {
// Explicitly write the log line in the context of the main
// Sentry hub; this log receiver thread is spawned before
// Sentry is configured, so the thread-local hub doesn't
// have the appropriate client and scope configuration.
sentry::Hub::run(sentry::Hub::main(), log_fn);
} else {
log_fn();
}
}
log_fn();
LogServiceResponse { success: true }
}
}