benaadams / Ben.Demystifier

High performance understanding for stack traces (Make error logs more productive)
Apache License 2.0
2.74k stars 118 forks source link

only get field value when is delegate #187

Closed SimonCropp closed 1 year ago

SimonCropp commented 2 years ago

found in sentry: Exception Thrown in a Static Constructor Is Not Being Sent To Sentry

@benaadams given a static constructor (triggered by the getfield) could still throw, do you think the get field logic should be wrapped in a try? i would assume a slightly less accurate display name i better than an exception?