add config ignore_error and replace error content with nil