Commit ba78f78
committed
fix(crash): Send actual exception string in crash report
This commit modifies the crash reporting mechanism to send the actual exception string as part of the crash report payload.
Previously, the stack trace was read from a log file, which could be unavailable. Now, the `Throwable` exception is converted to a string in `CrashHandler` and passed via an `Intent` extra to `CrashReportActivity`. This ensures the stack trace is reliably included in the JSON payload sent to the remote endpoint, replacing the previous "No stack trace available" placeholder.1 parent 919f63f commit ba78f78
File tree
2 files changed
+4
-1
lines changed- app/src/main/java/com/github/droidworksstudio
- common
- mlauncher
2 files changed
+4
-1
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
97 | | - | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| 102 | + | |
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
| |||
0 commit comments