fix wrong variable name
Merge pull request #122 from bmathieu33/master

fix wrong variable name (masking actual exception)