don't generate/print a report if an error occured -  fixes #35
Merge pull request #39 from alainravet/issue_35

don't generate/print a report if an error occured -  fixes #35