mirror of
https://github.com/Icinga/icinga2.git
synced 2026-02-20 00:10:29 -05:00
parent
3e64b642ca
commit
6fddec0dd3
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ public:
|
|||
return intrusive_ptr<T>();
|
||||
|
||||
if (!IsObject())
|
||||
BOOST_THROW_EXCEPTION(std::runtime_error("Cannot convert value to object."));
|
||||
BOOST_THROW_EXCEPTION(std::runtime_error("Cannot convert value of type '" + GetTypeName() + "' to an object."));
|
||||
|
||||
Object::Ptr object = boost::get<Object::Ptr>(m_Value);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue