add logging of the Ect errors