Set max 5 lines of printed error result