ObsiGate n\'a pas pu démarrer
{}
Backend: http://127.0.0.1:17890 | Logs: {}
'"#,
+ e.replace('\'', "\\'").replace('"', "\\\""),
+ backend_log_path().display().to_string().replace('\\', "\\\\"),
));
}
}
}
});
+ // Background monitor: detect backend crash
+ let handle2 = app.handle().clone();
+ tauri::async_runtime::spawn(async move {
+ loop {
+ tokio::time::sleep(Duration::from_secs(5)).await;
+
+ let state = handle2.state::