summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libkms++/drmobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkms++/drmobject.cpp b/libkms++/drmobject.cpp
index ea5d594..a79370f 100644
--- a/libkms++/drmobject.cpp
+++ b/libkms++/drmobject.cpp
@@ -64,6 +64,6 @@ uint64_t DrmObject::get_prop_value(const char *name) const
return m_prop_values.at(prop->id());
}
- throw invalid_argument("foo");
+ throw invalid_argument((string(name) + ": property not found").c_str());
}
}