[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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently the lib will get the current stacktrace if none were passed to Crashlytics, but all
Errorobjects have their original stacktrace in them, so we know what was happening when theErrorwas thrown. This isn't a "one size fits all" solution, but I believe in the majority of cases users will prefer the stacktrace from theErrorobject than the current stracktrace. One reason I believe in this is because generalyErrors can be thrown from inside aFutureand the stacktrace will have a bunch of asynchronous gaps that make the stacktrace useless.WDYT?
Beta Was this translation helpful? Give feedback.
All reactions