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

Improve log errors #253

Open
Siecje opened this issue Aug 6, 2019 · 0 comments · May be fixed by #269
Open

Improve log errors #253

Siecje opened this issue Aug 6, 2019 · 0 comments · May be fixed by #269

Comments

@Siecje
Copy link

Siecje commented Aug 6, 2019

With the current log error call log message sent to Sentry are being truncated.

https://github.com/graphql-python/graphql-core/blob/master/graphql/execution/utils.py#L155

https://forum.sentry.io/t/tracebacks-are-being-truncated/7304/2

One solution is to use log.error() with exc_info=True.

https://forum.sentry.io/t/some-stack-traces-are-truncated/7309

@ulgens ulgens linked a pull request Mar 8, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant