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

Design: Include JS errors in TinyPilot debug logs

Aperta
#1,644 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
javascript, python

Direzione di ricerca

No files, tests, or entry points are identified. Start by resolving the storage and log-rotation approach, the backend endpoint, and browser error capture; done means client-side JavaScript errors are received by the backend and included in rotated TinyPilot debug logs.

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

Descrizione

enhancement

The current TinyPilot debug logs are all from logs on the device itself, so we don't see errors that occurred in the client's browser.

In some cases, it would be helpful for diagnosing a customer's issue if we could see the contents of their JS console error log.

This is nontrivial, as there are a few issues to solve:

  • Where do we store JS logs to ensure they get properly logrotated?
  • What does the backend endpoint look like for receiving JS errors?
  • How do we trigger the web app to send JS errors to the backend?
    • I don't know how to do it, but there are a ton of JS error monitoring platforms (e.g., Sentry) that seem to hook into the browser's error handler, so I'm pretty sure there's some way of grabbing JS errors.
Lingua principale
Python
Stelle
3.5k
Fork
291
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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.

Altre issue di tiny-pilot/tinypilot

Tutte le issue di tiny-pilot/tinypilot

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.