fn without_panic_handling_frames(stacktrace: Stacktrace) -> StacktraceExpand description
Removes the frames that handle the panic: the standard library’s panic machinery and the panic hook that builds the event.
Sentry names an issue after its newest in-app frame, and the hook’s frames are in-app, so without this every panic would point at the hook instead of the code that panicked.