Include the name of the option in the exception thrown when an option is not found
Originally committed to SVN as r5501.
This commit is contained in:
parent
a33da9cba5
commit
7824348f10
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ OptionValue* Options::Get(const std::string &name) {
|
|||
return index->second;
|
||||
|
||||
LOG_E("option/get") << "agi::Options::Get Option not found: (" << name << ")";
|
||||
throw OptionErrorNotFound("Option value not found");
|
||||
throw OptionErrorNotFound("Option value not found: " + name);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue