From 8064769ef794c676d9409626e7a5d211799d50af Mon Sep 17 00:00:00 2001 From: Mohit Agarwal Date: Sat, 23 May 2026 11:43:44 +0530 Subject: [PATCH] Fix: Change console.log to console.error for proper error logging in camera catch block --- templates/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/index.html b/templates/index.html index cf81b53..b4a5107 100644 --- a/templates/index.html +++ b/templates/index.html @@ -322,8 +322,8 @@ video.srcObject = stream; }catch(error){ - - console.log(error); + // Fix: Changed console.log to console.error for proper error logging + console.error(error); alert( "Camera access denied"