Refactor error logging code to not re-raise exception
Merge pull request #116 from dimagi/simplify-error-logging

Refactor error logging code to not re-raise exception