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

Remove unnecessary strips in fuzzer and job name checks #57

Merged
merged 0 commits into from Feb 3, 2019

Conversation

inferno-chromium
Copy link
Collaborator

AttributeError: 'NoneType' object has no attribute 'strip'
at post (/base/data/home/apps/s~cluster-fuzz/20190202t044434.415828721241012675/handlers/fuzzers.py:214)

@inferno-chromium
Copy link
Collaborator Author

/gcbrun

@inferno-chromium inferno-chromium changed the title Remove unnecessary strip causing exceptions Remove unnecessary strips in fuzzer and job name checks Feb 3, 2019
@jonathanmetzman
Copy link
Collaborator

jonathanmetzman commented Feb 3, 2019

The recent instances of these exceptions were caused by me leaving fields empty.

@inferno-chromium inferno-chromium requested review from jonathanmetzman and removed request for oliverchang February 3, 2019 19:19
@inferno-chromium
Copy link
Collaborator Author

@jonathanmetzman - that is a legit usecase, we have a dedicated message for this, but current code was doing strip on None causing exception to show instead of the message.

Copy link
Collaborator

@jonathanmetzman jonathanmetzman left a comment

Choose a reason for hiding this comment

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

LGTM

@inferno-chromium inferno-chromium merged this pull request into master Feb 3, 2019
oliverchang pushed a commit that referenced this pull request Feb 5, 2019
AttributeError: 'NoneType' object has no attribute 'strip'
at post (/base/data/home/apps/s~cluster-fuzz/20190202t044434.415828721241012675/handlers/fuzzers.py:214)
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