BPS-574, logged error stack trace
Merge pull request #13 from firzhan/master

BPS-574, logged error stack trace