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

ResponseError from pipelines can be extremely large #3491

Open
rohansingh opened this issue Jan 30, 2025 · 1 comment
Open

ResponseError from pipelines can be extremely large #3491

rohansingh opened this issue Jan 30, 2025 · 1 comment
Assignees

Comments

@rohansingh
Copy link

When a pipeline command results in a ResponseError, both Pipeline and ClusterPipeline include the entire original command in the exception message:

f"Command # {number} ({cmd}) of pipeline "

f"Command # {cmd.position + 1} ({command}) of pipeline "

This exception can be extremely large, especially for commands that are sending a large blob to Redis. It would probably suffice to only include a snippet.

@vladvildanov
Copy link
Collaborator

Thanks for reaching out! It makes sense to trim it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants