Commit b660442
committed
refactor(crash): Improve crash report payload and reduce cooldown
This commit refactors the crash reporting mechanism with two key improvements:
- The cooldown period for sending crash reports has been reduced from 4 hours to 2 hours, allowing for more timely feedback. This was achieved by replacing the hardcoded millisecond value with `TimeUnit.HOURS.toMillis(2)`.
- The JSON payload for the crash report has been updated. The generic `"thread": "main"` and `"message": "App crashed"` fields have been replaced with a more specific `"namespace": packageName` field, providing better context for debugging.1 parent 5885332 commit b660442
File tree
1 file changed
+3
-3
lines changed- app/src/main/java/com/github/droidworksstudio/mlauncher
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
81 | | - | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
115 | | - | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
0 commit comments