Remove duplicate error handler.