Error Message issues due timestamp info
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
The request handling starts in compass/app/Http/Controllers/Api.php, around line 137, where the incoming timestamp is passed on. The exception is thrown from Shard.php at line 199, so reproduce by sending a timestamp with a timezone offset to the API and read the stack trace from there. Done means an offset timestamp gets a proper API error response instead of the generic 'Whoops' page, and timestamps without an offset still work. The issue does not say whether offsets should be accepted and converted or rejected, so confirm that with the maintainer before choosing.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I came up with an interesting problem here
I'm storing in the database using no timezone offset. So just Z. But, if I send in an API query with an offset in the timezone, it responds, Exception in Shard.php line 199:
It should respond with a proper API error instead of a "Whoops, looks like something went wrong." message.
Not sure if you have any thoughts on the practical problem I have here. The app I used to send the data didn't have the option to send timestamp with offset so I didn't. I usually figure it out later for display purposes.
- Lenguaje dominante
- JavaScript
- Estrellas
- 143
- Forks
- 33
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de aaronpk/Compass
-
Dificultad 4/5 3-5 días Aptitud para principiantes 15/100
-
docker supportAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
-
Compass Does Not Support PKCEAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
Todos los issues de aaronpk/Compass
Issues similares
-
chore cloudflare-workers consistency d1 difficulty: easy documentation dx enhancement good first issue help wanted hygiene javascript maintenance priority: P3 seo
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Link Checker ReportAbiertoautomated issue report
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
MattiaPARRINELLO/backstage#70 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
untemps/svelte-palette#298 ·