grep_line parameter name changed
Protecting from exceptions