Merge pull request #1920 from stweil/errhandling

Don't call exit when parameter in file is unknown
This commit is contained in:
zdenop 2018-09-20 10:37:38 +02:00 committed by GitHub
commit cefb62b644
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,8 +79,7 @@ bool ParamUtils::ReadParamsFromFp(SetParamConstraint constraint, TFile *fp,
if (!foundit) {
anyerr = true; // had an error
tprintf("read_params_file: parameter not found: %s\n", line);
exit(1);
tprintf("Warning: Parameter not found: %s\n", line);
}
}
}