Fix issue 829 -- error message is displaying wrong incorrect result.
Merge pull request #831 from erkyrath/master

Fixed incorrect error message in _when_complete (#829)