DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Express.js Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
easy
Express.js
Why should raw error stack traces (`err.stack`) be stripped from API response payloads in production environments?
A
Because stack traces slow down network transmission speeds
B
Because raw stack traces leak internal server file paths, dependency structures, and database architectures, creating a security vulnerability
C
Because browsers cannot parse JSON containing stack traces
D
Because stack traces delete target index keys
Check Answer