Skip to content

Commit

Permalink
Merge pull request #1920 from stweil/errhandling
Browse files Browse the repository at this point in the history
Don't call exit when parameter in file is unknown
  • Loading branch information
zdenop authored Sep 20, 2018
2 parents 5f45f73 + 741ea00 commit cefb62b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ccutil/params.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit cefb62b

Please sign in to comment.