[Task] in case of error also checked for for OAuthError
Merge pull request #92 from davidmoebius/OSNG-466

Osng 466