Add logging of the ect errors