Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Graceful error handling across the app

Aperta
#359 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
api, frontend

Direzione di ricerca

Start by reading issue #356 and related issue #304 to understand the existing error-handling gaps. The issue names the Trino, catalogue, dashboard and storage views, but does not identify files or tests; first locate those entry points and check how API errors and expired sessions are handled. Done means a friendly error page, consistent JSON API errors with status and message, and readable errors across the named views when services are unreachable.

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

Descrizione

Error handling is currently only implemented in parts of the app.
One example is #356. After the session expires, the catalogue browser shows Unexpected token '<', "<!doctype "... is not valid JSON instead of showing a readable error message.

  • Friendly error page
  • API routes return consistent JSON errors (status + message) instead of HTML
  • Check that the Trino, catalogue, dashboard and storage views show readable errors when the backend or an upstream is unreachable

Relates to #304

Lingua principale
TypeScript
Stelle
1
Fork
0
Merge medio
3g 20h
PR unite (30g)
14

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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.

Altre issue di stackabletech/cockpit

Tutte le issue di stackabletech/cockpit

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.