1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-08 12:40:26 +00:00

added logging

This commit is contained in:
Anders Åberg
2025-05-22 14:24:46 +03:00
parent fee5cc9ae5
commit e42cd0ba33

View File

@@ -438,6 +438,8 @@ pub mod ipc {
let path = desktop_core::ipc::path(&name);
println!("[BITWARDEN SERVER] IPC server path: {path:?}");
let server = desktop_core::ipc::server::Server::start(&path, send).map_err(|e| {
napi::Error::from_reason(format!(
"Error listening to server - Path: {path:?} - Error: {e} - {e:?}"
@@ -735,6 +737,8 @@ pub mod autofill {
let path = desktop_core::ipc::path(&name);
println!("[BITWARDEN SERVER] IPC server path: {path:?}");
let server = desktop_core::ipc::server::Server::start(&path, send).map_err(|e| {
napi::Error::from_reason(format!(
"Error listening to server - Path: {path:?} - Error: {e} - {e:?}"