Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
state/presence: fix error handling in sync #5537
Conversation
|
$$JFDI$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Tests failed |
|
$$JFDI$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
jujubot
merged commit 01fc47d
into
juju:master
Jun 6, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
davecheney commentedJun 6, 2016
•
Edited 1 time
-
ericsnowcurrently
Jun 6, 2016
Updates LP 1588574
While investigating LP 1588574 I came across this piece of error
handling logic that was addedin back in 2012 in 93d52ed.
The logic was non sensical; if err was not nil, but was MgoNotFound then
wrap it and return it, otherwise continue on. I'm assuming that this
should actually be err was not nil and not MgoNotFound then return the
error.
(Review request: http://reviews.vapour.ws/r/4982/)