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

PESDLC-983 Trim errors and add Broker exception #17118

Merged
merged 1 commit into from
Mar 15, 2024
Merged

Conversation

savex
Copy link
Contributor

@savex savex commented Mar 15, 2024

When script is creating >2k topics in one batch and Broker coaches - resulting error message contains whole topic creation request, which is very long. Trim it at 512 chars per formatted exception line to preserve actual proper traceback.

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v23.3.x
  • v23.2.x

Release Notes

  • none

@savex savex self-assigned this Mar 15, 2024
@savex savex marked this pull request as ready for review March 15, 2024 14:53
Copy link
Member

@travisdowns travisdowns left a comment

Choose a reason for hiding this comment

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

Might be a handy utility method too, but LGTM.

@savex savex merged commit f231643 into dev Mar 15, 2024
17 checks passed
@savex savex deleted the PESDLC-983-trim-long-errors branch March 15, 2024 19:06
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