NativeScript / NativeScript/nativescript-cli
Exceptions in Android app entry point are sporadically not shown in the terminal
Đang mở
Chưa có ai nhận issue này.
bug
- Ngôn ngữ chính
- JavaScript
- Star
- 1.1k
- Fork
- 204
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 8
Mô tả
Please, provide the details below:
Did you verify this is a real problem by searching the [NativeScript Forum]
yes
Tell us about the problem
When an exception is thrown in the app entry points (e.g. app.js), the error is shown in the app error activity but sometimes it's not shown in the terminal.
Which platform(s) does your issue occur on?
Android
Please provide the following version numbers that your issue occurs with:
- CLI: RC
- Cross-platform modules: 4.2.0
- Runtime(s): 4.2.0
Please tell us how to recreate the issue in as much detail as possible.
- Create new hello world js app.
- Throw an exception in app.js.
- Run the app.
- (Sometimes) The exception will be shown in the error activity, but not shown in the terminal.
Hướng dẫn đóng góp
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.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện vấn đề với một ứng dụng Hello World JavaScript mới, đưa ra một ngoại lệ trong app.js và chạy ứng dụng trên Android. Theo dõi cách CLI báo cáo các ngoại lệ từ điểm vào của ứng dụng tới terminal so với activity lỗi. Công việc được xem là hoàn tất khi ngoại lệ được hiển thị nhất quán trong terminal cũng như activity lỗi của ứng dụng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- android, javascript
- Lĩnh vực
- cli, mobile
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100