Truly barbaric, even without the earlier failed attempt. If this wasn't cruel and unusual punishment I'm struggling to know what is.
Seriously, the US system is a mess that this was allowed to happen. Along with the US only a few counties still have the death penalty, and many of them haven't done one for >20 years, meaning it is effectively gone.
Ask why you weren't told this.