a
This commit is contained in:
parent
e9b2a64e43
commit
aad76d162b
@ -212,7 +212,6 @@ int ConfigBuilder::getInt(const configKey& key) const {
|
|||||||
try{
|
try{
|
||||||
return stoi(getString(key));
|
return stoi(getString(key));
|
||||||
}catch(invalid_argument& e){
|
}catch(invalid_argument& e){
|
||||||
cerr << e.what() << endl;
|
|
||||||
throw config_error("Invalid int data for key "+key+" : |"+getString(key)+"|");
|
throw config_error("Invalid int data for key "+key+" : |"+getString(key)+"|");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user