Corrected a typo in the error handler.