Added logging out of error message stack
Merge pull request #27 from martin-hewitt/master

Added logging out of error message stack