Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Met à jour Sentry et corrige un avertissement #6623

Merged

Conversation

philippemilink
Copy link
Member

Sur une erreur de publication rapportée par Sentry, il y avait les avertissements suivants :

warning

On utilise mal la fonction add_breadcumb(). Mais en fait les appels à add_breadcumb() (qui ajoutent des infos au fil d'Ariane) n'ajoutaient aucune information supplémentaire, puisque les appels à Popen sont déjà interceptés par Sentry, qui les ajoute directement au fil d'Ariane :

breadcumb

Donc, j'ai tout simplement enlevé les appels à add_breadcumb().

J'en ai profité aussi pour mettre à jour sentry-sdk. C'est un changement de version majeure, mais apparemment on n'a rien à changer.

Contrôle qualité

La CI fonctionne et peut-être que je testerai sur le serveur de bêta.

- les fils d'Ariane n'aportent pas d'information supplémentaire,
  Sentry intercepte déjà les appels à Popen et les met dans le fil
  d'Ariane
- la fonction add_breadcumb() était mal appelée et causait des
  avertissement de Sentry : "Sentry has identified the following
  problems for you to monitor: Discarded invalid value (3), expected an
  object"
@coveralls
Copy link

Coverage Status

coverage: 88.842% (+0.01%) from 88.831%
when pulling c6315bf on philippemilink:remove-sentry-breadcumb-update
into e3cf8e4 on zestedesavoir:dev.

@Situphen Situphen merged commit 3505295 into zestedesavoir:dev Jul 13, 2024
12 checks passed
@philippemilink philippemilink deleted the remove-sentry-breadcumb-update branch July 14, 2024 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants