adding exception handling for primary folder sync