Skip to content

Missing if condition #17

@guiguem

Description

@guiguem

If the configuration file path is not correct, the initialization step will continue without stopping.
It is unclear if the configuration file is always required or not; if yes, it would be useful to stop the program in a nice manner with something like:

if (!vars.Initialise(configuration_file)){
   std::cout<<"\033[38;5;196m ERROR!!!: Failed initialization; exiting" << std::endl;
   exit(1);
}

In addition, what are the parameters that must be present in the configuration file ? Is there documentation somewhere?

vars.Initialise(configuration_file);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions