no bug - fix typo in exception handling
Merge pull request #2419 from rhelmer/nobug-typo-in-exception-handling

no bug - fix typo in exception handling