Fix error reporting in sync