fix argument error when raising this exception
Merge pull request #48 from estately/fix_argument_error

Review: fix argument error when raising this exception