Anakin’s fall to the darkside was terrible. The whole notion that he was tricked into believing that the Jedi were attempting a coup etc. Yuck, yuck, yuck.
How would you have handled Anakin’s fall to the dark side instead? What would you have done instead of having him believe the Jedi were evil?
For me, it’s actually a simple answer. Rather than have Anakin be tricked into believing the Jedi were staging a coup, they should have had the Jedi actually stage a coup. We should understand where Anakin’s coming from, even if we ultimately don’t agree with his choices. The Jedi should have more explicitly flawed as an institution and Anakin should have had an ideological opposition to them in addition to being seduced to the dark side.