- add error log in sync process