His mistake was attacking GOP senators. No one has gone to jail for leaks (tax returns, etc.) related to POTUS.
He should have set his sights either higher or lower.