Saw my colleague debugging. He's got a try-catch, then I asked, "Why aren't you logging the stack trace?". He answered, "I don't cause it will be a security risk". So there he was having a hard time debugging.🤯
Can you guys confirm if what he said is true?

  • 0
    What's his reasoning for thinking it's unsafe?
  • 1
    @Elyz Unless he's debugging in production or wherever he's debugging has open access from outside, I dunno.
  • 1
    Logging the stack trace as an automated Facebook status update would be unsafe. Writing it to disk in some way that only you guys have access to is fine. Sounds like inexperience (or ignorance) to me.
  • 1
    wouldn't be easier if you ask the guy for an explanation to that reasoning?
Your Job Suck?
Get a Better Job
Add Comment