72 extenalizar log de errores opcional#244
Merged
Merged
Conversation
…on de logs en desarrollo
Contributor
|
Hola Héctor. He visto que hay variables de entorno en ffromtend. Estas las pueden utilizar cualquiera ? O está protegido de alguna manera ? |
Contributor
Author
|
Hola Óscar!! La DSN que estoy usando solo permite enviar errores a sentry, no permite lectura, escritura ni eliminación. Es un dsn público que solo hace referencia al id del proyecto creado en sentry para que lleguen los logs de errores. Para el backend existe la posibilidad de poner tokens en el dsn (no lo estamos usando de momento) que valida las cabeceras con esos tokens, pero en este caso el dsn no expone información vulnerable como una apikey En caso de detección de spam de logs se puede bloquear la ip o cambiar el dsn |
…ible antes de envio de error, rateLimit de 10 en 60 segundos en errores
virgulilla
approved these changes
Oct 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Control de errores externalizados con sentry tanto en backend (peticiones http, emails y thumbnails) como frontend en el middleware del store de redux y login.