Ensure we have an exception and capture the exc_info.
Merge pull request #30 from harlowja/ensure-excp

Ensure we have an exception and capture the exc_info.