[Crashlytics] Add Error's stacktrace if none were passed #7470
Unanswered
feinstein
asked this question in
Feature request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently the lib will get the current stacktrace if none were passed to Crashlytics, but all
Error
objects have their original stacktrace in them, so we know what was happening when theError
was thrown. This isn't a "one size fits all" solution, but I believe in the majority of cases users will prefer the stacktrace from theError
object than the current stracktrace. One reason I believe in this is because generalyError
s can be thrown from inside aFuture
and the stacktrace will have a bunch of asynchronous gaps that make the stacktrace useless.WDYT?
Beta Was this translation helpful? Give feedback.
All reactions