Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

fix(breadcrumbs): Ensure maximum lengths on several attributes - #1194

Merged
ashwoods merged 1 commit into
masterfrom
fix/trim-crumbs
Feb 3, 2018
Merged

ashwoods merged 1 commit into
masterfrom
fix/trim-crumbs

Conversation

@dcramer

@dcramer dcramer commented Feb 2, 2018 •

Copy link
Copy Markdown
Member
  • Trim message, category, and level attributes
  • Update pytest support to work in other environments

Fixes GH-604

- Trim message, category, and level attributes
- Update pytest support to work in other environments
@dcramer

dcramer commented Feb 2, 2018

Copy link
Copy Markdown
Member Author

This also fixes py.test support which had been broken for me locally.

flake8 is still broken (i had to commit with -n) but I dont have time to deal with that. We should be careful changing development/test environment, as it seems we might have done it without considering consequences (e.g. I assume we bumped the version of flake8 and it has never worked w/ our hooks since)

@dcramer
dcramer requested review from HazAT and jan-auer February 3, 2018 00:05
@dcramer

dcramer commented Feb 3, 2018

Copy link
Copy Markdown
Member Author

@jan-auer @HazAT throwing you two on since we dont have an sdks team (afaik) on github

@ashwoods
ashwoods self-requested a review February 3, 2018 02:59
Comment thread raven/breadcrumbs.py
class BreadcrumbBuffer(object):

def __init__(self, limit=100):
def __init__(self, limit=100, message_max_length=1024):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll set limit and message_max_length as settings in the new-settings-branch

@ashwoods
ashwoods merged commit 91fc046 into master Feb 3, 2018
@ashwoods

ashwoods commented Feb 3, 2018

Copy link
Copy Markdown
Contributor

@dcramer Thx!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants