Error message wasn't previously shown as it was trying to print the wrong variable.
Merge pull request #14 from leesto/error-message

Fix error message not showing