do not convert result type in case of error
Merge pull request #197 from rhomobile/fix/60787738-error-result-discarded

do not convert result type in case of error