-
Notifications
You must be signed in to change notification settings - Fork 31
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
Feat/sentry tracing #75
Feat/sentry tracing #75
Conversation
I think we can add detailed info about this integration to README. @smagafurov ? |
Я решил не мучать нас английским, прошу прощения что не по канонам гитихаба) |
try: | ||
yield | ||
except Exception as exc: | ||
if isinstance(exc, BaseError): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
еще хотел уточнить по поводу этой штуки. Раньше вроде тоже не логировались такие ошибки? По крайней мере я с дебагером смотрел, что оно он идет мимо логгера.
Вроде это правильное повоедение, если кто-то кинул такую ошибку, то он знает, что делает)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Да, эти ошибки превращаются в валидные ответы, например это позволяет бросать ValidationError-ы всякие, что есть вполне адекватный ответ
Adding explicit sentry-sdk integration with tracing support. Trace-id is shared across batch, each sub-response uses a separate transaction.