[tor-commits] [stem/master] Convert keys before reporting error