Add max number of errors to console