am 2fd0058c: Only clear sync error map on success

* commit '2fd0058c0204b60966a77265e75bfbc471416aa8':
  Only clear sync error map on success