NativeScript / NativeScript/nativescript-cli

Exceptions in Android app entry point are sporadically not shown in the terminal

Offen
#3,812 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

bug
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.
  1. Create new hello world js app.
  2. Throw an exception in app.js.
  3. Run the app.
  4. (Sometimes) The exception will be shown in the error activity, but not shown in the terminal.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Ö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

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.