NativeScript / NativeScript/nativescript-cli
Exceptions in Android app entry point are sporadically not shown in the terminal
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 1.1k
- Forks
- 204
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 8
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, das Problem mit einer neuen Hello World JavaScript-App zu reproduzieren, indem du in app.js eine Ausnahme auslöst und sie auf Android ausführst. Verfolge, wie die CLI Ausnahmen vom App-Einstiegspunkt an das Terminal im Vergleich zur Fehleraktivität meldet. Als erledigt gilt die Aufgabe, wenn die Ausnahme sowohl im Terminal als auch in der Fehleraktivität der App konsistent angezeigt wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- android, javascript
- Bereich
- cli, mobile
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100