Skip to content

fix: prevent argument too long error on self-hosted error reports due to breadcrumbs too long#4348

Open
aldy505 wants to merge 1 commit into
masterfrom
aldy505/fix/prevent-argument-too-long
Open

fix: prevent argument too long error on self-hosted error reports due to breadcrumbs too long#4348
aldy505 wants to merge 1 commit into
masterfrom
aldy505/fix/prevent-argument-too-long

Conversation

@aldy505
Copy link
Copy Markdown
Collaborator

@aldy505 aldy505 commented May 25, 2026

Previously some users reported that they are facing errors of 'docker argument list too long', it's annoying and hard to debug for us maintainers. This should prevent that.

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

… to breadcrumbs too long

Previously some users reported that they are facing errors of 'docker argument list too long', it's annoying and hard to debug for us maintainers. This should prevent that.
Comment thread install/error-handling.sh
@@ -182,7 +190,7 @@ cleanup() {
# Create the breadcrumb payload now before stacktrace is printed
# https://develop.sentry.dev/sdk/event-payloads/breadcrumbs/
# Use sed to remove the last line, that is reported through the error message
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think we should move this comment to collect_breadcrumbs function now.

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

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants