Handle errors for initial sync