fix(editor): redact session paths in debug log

This commit is contained in:
wiiiii123
2026-05-21 00:04:03 +07:00
parent c61de0ef9d
commit 598334ef59
+4 -3
View File
@@ -2291,10 +2291,11 @@ export default function VideoEditor() {
return window.electronAPI.onRecordingSessionChanged((session) => {
console.log("[VideoEditor] onRecordingSessionChanged received!", {
sessionVideoPath: session?.videoPath,
videoSourcePath: videoSourcePath,
hasSession: Boolean(session),
hasSessionVideoPath: Boolean(session?.videoPath),
hasVideoSourcePath: Boolean(videoSourcePath),
match: session?.videoPath === videoSourcePath,
webcamPath: session?.webcamPath,
hasWebcamPath: Boolean(session?.webcamPath),
});
if (!session || session.videoPath !== videoSourcePath) {