Surgery during pregnancy - lumpectomy at 17 weeks pregnant

Super nervous - having a lumpectomy tomorrow at 17 weeks pregnant. I had a biopsy come back with the suspicion that it may be cancerous. After consulting with my doctors, we scheduled the surgery. I’m nervous about going under anesthesia, the risk of complications and miscarriage.

Has anyone had surgery during their pregnancy? What was the outcome/recovery?