Skip to content

v1.1.0-alpha

Pre-release
Pre-release
Compare
Choose a tag to compare
@danielmorell danielmorell released this 24 May 20:06
8493ac0

This release fixes a long-standing bug in the shortening logic that prevented it from fully shortening error reports that are two large. Because this can (and most likely will) change what data is reported to the Rollbar platform, we are releasing this as an alpha. We recommend testing it and adjusting the defaults for local variable shortening as needed.

You can fine tune the local sizes by changing the values from the defaults as shown here:

import rollbar

rollbar.init(
    '<your token>',
    '<your environment>',
    locals={
        'sizes': {
            'maxlevel': 5,
            'maxdict': 10,
            'maxlist': 10,
            'maxtuple': 10,
            'maxset': 10,
            'maxfrozenset': 10,
            'maxdeque': 10,
            'maxarray': 10,
            'maxstring': 100,
            'maxlong': 40,
            'maxother': 100,
        }
    }
)

What's Changed

Full Changelog: v1.0.0...v1.0.0-alpha