Improve error message for conflicting API field registrations
This commit is contained in:
parent
760261cf3d
commit
d7ff3629ed
@ -41,7 +41,7 @@
|
||||
end
|
||||
|
||||
if _G[name] then
|
||||
error("name in use", 2)
|
||||
error("name '" .. name .. "' in use", 2)
|
||||
end
|
||||
|
||||
-- make sure there is a handler available for this kind of value
|
||||
|
Loading…
Reference in New Issue
Block a user