Add missing error handler.