Better error and console logs for sync events