Skip to content

Replace StackTrace.empty with StackTrace.current #1083

Description

@ueman

When a user passes StackTrace.empty Sentry should automatically use StackTrace.current instead. An empty stacktrace doesn't contain any frames so you get pretty useless stacktraces. By using the current stacktrace instead, you can at least get a frame of whereever it was passed to Sentry.

An empty stacktrace is for example sometimes passed into the onError callback of stream listeners.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions