pub(crate) fn excerpt(line: &str, max_chars: usize) -> String
First max_chars of line for logs and error strings - a corrupt line can be arbitrarily large.
max_chars
line