added log error
Merge pull request #148 from assureit/typescript0.9

added log error