Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Graceful error handling across the app

Đang mở
#359 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
api, frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
TypeScript
Star
1
Fork
0
Merge trung bình
3 ngày 20 giờ
Pull request đã merge (30 ngày)
14

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của stackabletech/cockpit

Tất cả issue của stackabletech/cockpit

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.