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
-20
View File
@@ -1435,26 +1435,6 @@ impl Session {
log::warn!(
"Failed to read history using PowerShell commands: {powershell_error:?}"
);
#[cfg(feature = "crash_reporting")]
sentry::with_scope(
|scope| {
let mut context = std::collections::BTreeMap::new();
context.insert(
"powershell_error".to_string(),
format!("{powershell_error:?}").into(),
);
scope.set_context(
"powershell_history",
sentry::protocol::Context::Other(context),
);
},
|| {
sentry::capture_message(
"Failed to read history using PowerShell commands",
sentry::Level::Error,
)
},
);
Ok(contents)
}
Err(e) => Err(ReadHistoryContentsError::PowerShellAndAsyncFsError {