diff --git a/lib/cdist/core/object.py b/lib/cdist/core/object.py
index a802a457..339591ad 100644
--- a/lib/cdist/core/object.py
+++ b/lib/cdist/core/object.py
@@ -40,7 +40,7 @@ class IllegalObjectIdError(cdist.Error):
         self.message = message or 'Illegal object id'
 
     def __str__(self):
-        return '%s: %s' % (self.message, os.path.join(self.type_name, self.object_id))
+        return '%s: type: %s, object_id: %s' % (self.message, self.type_name, self.object_id)
 
 
 class Object(object):