Now only excepting AttributeError instead of all errors.
Merge pull request #476 from rschulman/master

Now only excepting AttributeError instead of all errors.