Skip to main content

[Python] Truncated messages

Updated over a month ago

Issue

When I'm investigating issues, the "Message" section contains information from the error, but it's being limited in length and when I hover over (...) it says "Removed because of size limits".
Any chance I can make sure that the full message is shown?

Applies To

  • All SaaS Customers

  • Python SDK

  • Error Monitoring

Resolution

The message is being truncated as there is a default limit of 1024 characters. You can increase the default value with the max_value_length option inside your sentry_sdk.init(). Please keep in mind that if the value you set for this is exceptionally large, the event may exceed 1 MiB and will be dropped by Sentry.

Did this answer your question?