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.
When a user passes
StackTrace.emptySentry should automatically useStackTrace.currentinstead. 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.