NativeScript / NativeScript/nativescript-cli

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

Aperta
#3,812 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

bug
Lingua principale
JavaScript
Stelle
1.1k
Fork
204
Merge medio
1g 9h
PR unite (30g)
8

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia riproducendo il problema con una nuova app Hello World JavaScript, generando un’eccezione in app.js ed eseguendola su Android. Traccia il modo in cui la CLI segnala le eccezioni dal punto di ingresso dell’app al terminale rispetto all’attività di errore. Il lavoro è completato quando l’eccezione viene mostrata in modo coerente sia nel terminale sia nell’attività di errore dell’app.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
android, javascript
Ambito
cli, mobile
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.