log original exception if available
Merge pull request #193 from bitzesty/sync-exceptions

log original exception if available