Add logging for failed and error steps

this fixed #7