-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
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?
libDAQInterface/src/DAQInterface.cpp
Line 7 in 59974e1
| vars.Initialise(configuration_file); |
Metadata
Metadata
Assignees
Labels
No labels