Add detection of errors in the output. Maybe should use an array of invalid strings.
The idea is to grep for an string in the output. If found return error. Maybe should use an arrya of strings, but now we have only one.
The idea is to grep for an string in the output. If found return error. Maybe should use an arrya of strings, but now we have only one.