Skip to content

Commit

Permalink
Per #2924, forgot to add an else to print an error
Browse files Browse the repository at this point in the history
  • Loading branch information
MET Tools Test Account committed Sep 5, 2024
1 parent 0e21fa6 commit f256940
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/libcode/vx_statistics/read_climo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ DataPlaneArray read_climo_data_plane_array(Dictionary *dict,
else if(dict->parent()->lookup(cs.c_str(), false)) {
regrid_parent_dict = dict->parent()->lookup_dictionary(climo_name);
}
else {
mlog << Error << "\n" << method_name
<< "Trouble parsing configuration entry: " << cs << "\n";
exit(1);
}

// Parse the "regrid" dictionary
RegridInfo regrid_info = parse_conf_regrid(regrid_parent_dict);
Expand Down

0 comments on commit f256940

Please sign in to comment.