use exception instead of error to log unexpected Exceptions
Merge pull request #24 from dimagi/exception

use exception instead of error to log unexpected Exceptions