Add logging of the ect errors
Merge pull request #7 from Maxim-Chugaev/patch-1

add logging of the Ect errors