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

Allow longer lines before eliding #1197

Merged
merged 3 commits into from
Feb 20, 2020

Conversation

bhearsum
Copy link
Contributor

The current eliding that happens as part of Balrog submission ends up not showing any useful parts of the request, which makes debugging submission issues next to impossible.

This patch should elide long enough to show the entire body of regular requests, while still eliding enough to avoid mozilla-releng/scriptworker#362.

@bhearsum
Copy link
Contributor Author

@tomprince should probably look at this too.

@@ -16,8 +16,8 @@

def _json_log_data(data):
log = json.dumps(data)
if len(log) > 100:
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess maybe this should be a constant?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea.

@bhearsum bhearsum merged commit 54b01d2 into mozilla-releng:master Feb 20, 2020
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.

3 participants