Log errors and their stack traces
Merge pull request #293 from mojodna/stack-traces

Log errors and their stack traces