added error handling of HAR parsing errors;

added status non-zero exit codes for errors cases.