Skip to content

Commit

Permalink
Add an errror warning if project file (.json or .conf) is not found o…
Browse files Browse the repository at this point in the history
…r corrupted.
  • Loading branch information
skhelladi committed Oct 27, 2022
1 parent cc29263 commit b35e79c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/configParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,9 @@ namespace config
}
else
{
throw;
std::string message = "Project file '"+name+"' not found or corrupted";
Fatal_Error(message.c_str())
// throw;
}
gmsh::logger::write("==================================================");
gmsh::logger::write("Simulation parameters: ");
Expand Down Expand Up @@ -430,7 +432,9 @@ namespace config
}
else
{
throw;
std::string message = "Project file '"+name+"' not found or corrupted";
Fatal_Error(message.c_str())
// throw;
}
gmsh::logger::write("==================================================");
gmsh::logger::write("Simulation parameters: ");
Expand Down

0 comments on commit b35e79c

Please sign in to comment.