genocide?

so. um... i let fake legion upload the code and essentially killed the entire quarian fleet and tali unalived herself because of it... is there no way to save both? i feel like the quarian's are to blame honestly. not me. but like... that was really f'd up. what happens if i tell legion no?