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"