issue #5821 : don't report error if call succeed
issue #5821 : fix indentation
Merge pull request #715 from joshuastray/develop

issue #5821 : don't report error if call succeed