Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Exception.StackTrace resilient to missing attribute assemblies (#…
…48535) A customer has reported a problem when they could not get stack trace from an exception that they needed to log, because one of the methods on the stack or its defining type had an attribute from an assembly that was missing. This change fixes that by ignoring exceptions in attempts to get StackTraceHiddenAttribute, preferring to err on the side of getting a stack frame that was marked as hidden in the stack trace rather than not getting any stack trace at all.
- Loading branch information