summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/events/SetMetadataEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/events/SetMetadataEvent.cpp')
-rw-r--r--src/libs/engine/events/SetMetadataEvent.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libs/engine/events/SetMetadataEvent.cpp b/src/libs/engine/events/SetMetadataEvent.cpp
index 6e72d57b..db4bbc30 100644
--- a/src/libs/engine/events/SetMetadataEvent.cpp
+++ b/src/libs/engine/events/SetMetadataEvent.cpp
@@ -99,8 +99,7 @@ SetMetadataEvent::post_process()
if (_error == INVALID_PATH) {
_responder->respond_error((boost::format("Invalid path %1% setting %2%") % _path % _key).str());
} else if (_object == NULL) {
- string msg = "Unable to find object ";
- msg += _path;
+ string msg = (boost::format("Unable to find object %1% to set %2%") % _path % _key).str();
_responder->respond_error(msg);
} else {
_responder->respond_ok();