Fixes class of error
Merge pull request #2770 from jamesberlage/identify-excon-errors

Fixes class of error