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

Add failed_payloads attribute to FailedPayloadsError #302

Closed
wants to merge 1 commit into from

Conversation

jobevers
Copy link
Contributor

The logs and stack trace can get quite large if a payload is large, or there are a lot of them. Moved it to be its own attribute.

@@ -161,7 +161,9 @@ class KafkaTimeoutError(KafkaError):


class FailedPayloadsError(KafkaError):
pass
def __init__(self, failed_payloads, *args):
KafkaError.__init__(self, *args)
Copy link
Owner

Choose a reason for hiding this comment

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

pls use super here

@dpkp
Copy link
Owner

dpkp commented Mar 8, 2015

Merged w/ change to super()

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 this pull request may close these issues.

None yet

2 participants