summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--giscanner/ast.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/ast.py b/giscanner/ast.py
index 551dbb1..b03d43f 100644
--- a/giscanner/ast.py
+++ b/giscanner/ast.py
@@ -352,7 +352,7 @@ returned."""
previous = self._names.get(node.name)
if previous is not None:
if not replace:
- raise ValueError("Namespace conflict")
+ raise ValueError("Namespace conflict: %r" % (node, ))
self.remove(previous)
# A layering violation...but oh well.
from .glibast import GLibBoxed