Skip to content

Conversation

jebingeosil
Copy link

No description provided.

end
yield(commits.size, commits.size) if block_given?
elsif !read_token && commits.empty?
raise RuntimeError, "Empty repository"

Choose a reason for hiding this comment

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

Do we have something that will handle the RuntimeError so that the jobs do not continue to crash under this circumstance?

Copy link
Author

@jebingeosil jebingeosil May 23, 2017

Choose a reason for hiding this comment

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

yes Peter, RuntimeError will be rescue'd and handled by Job::Manager run method, so it won't crash the slave daemon

@jebingeosil jebingeosil merged commit 992274a into master May 25, 2017
@jebingeosil jebingeosil deleted the OTWO-4721 branch May 25, 2017 11: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.

2 participants