bugfix: TDIS-5516
sync doesn't work if errorCallback is missing.
Merge pull request #224 from zivchang/next

Fix user location update issue