(ITS#5618) better error messages for syncrepl failure