Electrocatalysis of chlorine evolution on different materials and its influence on the performance of an electrochemical reactor for indirect oxidation of pollutants