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

reraise error if remoteGetWorkerInfo() fails #2221

Merged

Conversation

rutsky
Copy link
Member

@rutsky rutsky commented May 12, 2016

otherwise we'll see in log "rejecting duplicate worker" error

otherwise we'll see in log "rejecting duplicate worker" error
@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @MichaelMayorov, @kassemsandarusi and @tardyp to be potential reviewers

@@ -131,7 +131,7 @@ def newConnection(self, conn, workerName):
except Exception as e:
log.msg("Failed to communicate with worker '%s'\n"
"%s" % (workerName, e))
defer.returnValue(False)
Copy link
Member

Choose a reason for hiding this comment

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

raise

works better

@rutsky
Copy link
Member Author

rutsky commented May 12, 2016

@tardyp thanks, I used just raise instead where you pointed out, and in a place above. Haven't tested, lets wait for CI to finish.

@tardyp tardyp merged commit 6ea32ca into buildbot:master May 18, 2016
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

3 participants