Added printing of sync errors to logcat.