Custom release and dist not used for uncaught errors
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- ios, typescript
- Lĩnh vực
- mobile-dev, observability
Hướng nghiên cứu
Bắt đầu với các điểm vào Sentry.setRelease, Sentry.setDist và Sentry.init, sau đó theo dõi đường dẫn báo cáo ngoại lệ chưa được bắt trên iOS. Tái hiện sự cố được mô tả trong issue và xác minh rằng sự kiện Sentry nhận được sử dụng các giá trị release và dist tùy chỉnh đã cấu hình.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Which platform(s) does your issue occur on?
- Tested on iPhone 11 Xs Max
- iOS 14.3
Please, provide the following version numbers that your issue occurs with:
- CLI: 7.0.12
- Cross-platform modules: 7.0.13
- iOS Runtime: 7.0.6
- Plugin(s):
"dependencies": {
"@nativescript-community/push": "^1.1.9",
"@nativescript-community/sentry": "^2.0.8",
"@nativescript/core": "~7.0.0",
"@nativescript/iqkeyboardmanager": "^2.0.0",
"@nativescript/localize": "^5.0.2",
"@nativescript/theme": "~2.3.0",
"@nota/nativescript-webview-ext": "^7.0.3",
"@nstudio/nativescript-pulltorefresh": "^3.0.1",
"nativescript-lottie": "^5.0.2",
"nativescript-sound-kak": "^1.2.0",
"nativescript-vibrate": "^4.0.1",
"nativescript-vue": "~2.8.0",
"vuex": "^3.6.0"
},
"devDependencies": {
"@babel/core": "~7.1.0",
"@babel/preset-env": "~7.1.0",
"@nativescript/android": "7.0.1",
"@nativescript/ios": "7.0.6",
"@nativescript/webpack": "~3.0.0",
"@sentry/webpack-plugin": "^1.14.0",
"babel-loader": "~8.0.0",
"dotenv": "^8.2.0",
"nativescript-vue-template-compiler": "~2.8.0",
"node-sass": "^4.14.1",
"vue-loader": "~15.9.3"
},
Please, tell us how to recreate the issue in as much detail as possible.
Initialize the plugin like so:
import * as Sentry from '@nativescript-community/sentry';
const dsn = "your Sentry dsn here";
Sentry.setRelease("Your custom release name");
Sentry.setDist("Your custom dist name");
Sentry.init({
dsn,
appPrefix: 'app:///',
});
Then cause the application to crash, and let the plugin catch and report the exception on its own (rather than try/catching it yourself manually).
The exception will get reported to Sentry, but you'll notice that your custom release and dist names were not used.
- Ngôn ngữ chính
- TypeScript
- Star
- 18
- Fork
- 12
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của nativescript-community/sentry
-
Cannot set sentryGradleVersionĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
nativescript-community/sentry#29 · 1 bình luận ·
-
No sourcemap in SentryĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
nativescript-community/sentry#23 · 8 bình luận ·
-
Can't set other options in initĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
nativescript-community/sentry#22 · 8 bình luận ·
-
Sentry.close() does not workĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
nativescript-community/sentry#13 · 4 bình luận ·
Tất cả issue của nativescript-community/sentry
Issue tương tự
-
bug via-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
pingdotgg/t3code#14452 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
solana-foundation/program-examples#747 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 9 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
remotion-dev/remotion#11847 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
openwatersio/slackwater#355 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
melgarafael/DeskcommCRM#1998 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày