The calling function logs the appropriate error Change-Id: I41f446b1495e23995aff4778f1c1a488d83537fb CRs-fixed: 361831 (cherry picked from commit 81fd358ee8b70946b306417064d104fa3341d6fa)