Merge pull request #546 from webadderallorg/fix/editor-redact-session-path-logs

fix(editor): redact session paths in debug log
This commit is contained in:
Phạm Thị Minh Hồng
2026-05-21 00:07:30 +07:00
committed by GitHub
+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) {