typo with undefiend error variable fixed
Merge pull request #21 from Postmedia/error_fix

typo with undefiend error variable fixed