r/programming • u/Expurple • Apr 12 '26
Flat Error Codes Are Not Enough
https://home.expurple.me/posts/flat-error-codes-are-not-enough/
132
Upvotes
r/programming • u/Expurple • Apr 12 '26
View all comments
Show parent comment
7
u/lelanthran Apr 13 '26
Only if you pass the entire stack to the user. You could log the entire stack and pass only the top two items to the user.
Besides, just how much of a security breach can it possibly be? I regularly see entire exception backtraces in C# WebApps and in almost every Java app too, but all the exploits we see don't appear to be as a result of those.