}
ret = sync_agent_ds_update_profile(profile_h);
- if (SYNC_AGENT_DS_SUCCESS!=ret) {
+ if (SYNC_AGENT_DS_SUCCESS!=ret && SYNC_AGENT_DS_SYNCHRONISING !=ret) {
ThrowMsg(NotFoundException, "Platform error while updating a profile: "<<ret);
}
}
ret = sync_agent_ds_delete_profile(profile_h);
- if (SYNC_AGENT_DS_SUCCESS!=ret) {
+ if (SYNC_AGENT_DS_SUCCESS!=ret && SYNC_AGENT_DS_SYNCHRONISING !=ret) {
ThrowMsg(PlatformException, "Platform error while deleting a profile: "<<ret);
}
}
ret = sync_agent_ds_start_sync(profile_h);
- if (SYNC_AGENT_DS_SUCCESS!=ret) {
+ if (SYNC_AGENT_DS_SUCCESS!=ret && SYNC_AGENT_DS_SYNCHRONISING !=ret) {
ThrowMsg(PlatformException, "Platform error while starting a profile: "<<ret);
}