add simple error handler to applicationValidator