Page MenuHomePhabricator

D4137.id13147.diff
No OneTemporary

D4137.id13147.diff

diff --git a/services/tunnelbroker/src/Tools/ConfigManager.cpp b/services/tunnelbroker/src/Tools/ConfigManager.cpp
--- a/services/tunnelbroker/src/Tools/ConfigManager.cpp
+++ b/services/tunnelbroker/src/Tools/ConfigManager.cpp
@@ -94,6 +94,11 @@
throw std::runtime_error(
"ConfigManager Error: config parameter " + param + " is not set.");
}
+ if (this->variablesMap[param].as<std::string>().empty()) {
+ throw std::runtime_error(
+ "ConfigManager Error: config parameter " + param +
+ " can not be empty.");
+ }
return this->variablesMap[param].as<std::string>();
}

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 3, 2:58 PM (3 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2612086
Default Alt Text
D4137.id13147.diff (610 B)

Event Timeline