Hide any error when press on Run Command

How can I hide any error when press on Run Command?