getsentry / getsentry/sentry-java
Check where we are catching Throwable
未關閉
Improvement
Java
Platform: Java
State: Needs Discussion
- 主要語言
- Kotlin
- 星號
- 1.4k
- 分支
- 478
- 平均合併
- 3 天 4 小時
- 30 天內合併 PR
- 72
描述
We shouldn't catch Throwable since that could be an OOMException or a StackOverflowException. We should audit all places where we catch Throwable
1. Ship this in the next major version
2. Notify downstream SDKs (gaming) of potential side effects
貢獻指南
研究方向
在儲存庫中搜尋所有捕獲 Throwable 的位置,然後針對 issue 中描述的 OOMException 和 StackOverflowException 問題逐一檢查每個出現位置。當稽核完成、下一個主要版本所需的變更已定義,且下游 gaming SDK 已獲知潛在副作用時,這項工作即告完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java, kotlin
- 領域
- tooling
- Issue 類型
- 重構
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100