Luciano Spalletti paid tribute to Francesco Totti after the Roma legend ended his playing career on Sunday, but admits to making mistakes in managing the 40-year-old.