Closed gyst closed 5 months ago
My Sentry tracebacks routinely get truncated:
Previously, we used a monkeypatch to work around that:
initialization = import sentry_sdk sentry_sdk.utils.MAX_STRING_LENGTH = 4096
The upstream change https://github.com/getsentry/sentry-python/commit/5478df29e9a25cb1e8e84f7e045d31e0b10030c7 both invalidates that monkeypatch and obviates the need for it, by adding proper API support for accepting larger tracebacks.
This PR adds support for the newly introduced init option of max_value_length here.
max_value_length
Additionally, it brings tox.ini in line with the Python versions declared as supported in setup.py
tox.ini
Thanks. Can you cut a release, so I can update our production buildouts?
@gyst I have released 6.13.0: https://pypi.org/project/plone.recipe.zope2instance/6.13.0/
My Sentry tracebacks routinely get truncated:
Previously, we used a monkeypatch to work around that:
The upstream change https://github.com/getsentry/sentry-python/commit/5478df29e9a25cb1e8e84f7e045d31e0b10030c7 both invalidates that monkeypatch and obviates the need for it, by adding proper API support for accepting larger tracebacks.
This PR adds support for the newly introduced init option of
max_value_length
here.Additionally, it brings
tox.ini
in line with the Python versions declared as supported in setup.py