cubicweb/req.py
changeset 12179 14f85569eda2
parent 11913 4516c3956d46
child 12181 29dae4b0332a
--- a/cubicweb/req.py	Fri Apr 21 10:29:44 2017 +0200
+++ b/cubicweb/req.py	Tue Apr 25 17:10:16 2017 +0200
@@ -218,7 +218,8 @@
         eschema = self.vreg.schema.eschema(etype)
         for attr, value in kwargs.items():
             if isinstance(value, list) or isinstance(value, tuple):
-                raise NotImplementedError("List of values are not supported")
+                raise NotImplementedError(
+                    '{0}: list of values are not supported'.format(attr))
             if hasattr(value, 'eid'):
                 kwargs[attr] = value.eid
             if attr.startswith('reverse_'):