Make error handlers work