• Eetay EetayDev
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hello,

As part of my managed package I'm using the standard Salesforce functionality Exception.getStackTraceString() to get the stacktrace of an exception as a String for better error handling and logging. Unfortunately, this functionality seems to work differently depending on the org the package is installed in, i.e. I get full stacktraces for one org but no stacktraces at all in all other orgs.

There is no documentation in the official docs as to when stacktraces are produced or any possible settings for enabling/disabling stacktraces for managed packages. This feature is critical for being able to quickly fix bugs and any help would be greatly appreciated.