mirror of
https://github.com/littensy/charm.git
synced 2026-10-22 21:01:38 +00:00
fix: remove atom.debugLabel reference
This commit is contained in:
parent
7bbd7a0adb
commit
1a65a4a0de
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ local function validate(value: any, key: any)
|
||||||
if getmetatable(value) ~= nil then
|
if getmetatable(value) ~= nil then
|
||||||
error(`Cannot sync tables with metatables! Got {value} at key '{key}'`)
|
error(`Cannot sync tables with metatables! Got {value} at key '{key}'`)
|
||||||
elseif store.isAtom(value) then
|
elseif store.isAtom(value) then
|
||||||
error(`Cannot sync nested atoms! Got atom '{value.debugLabel}' at key '{key}'`)
|
error(`Cannot sync nested atoms! Got atom at key '{key}'`)
|
||||||
elseif isUnsafeTable(value) then
|
elseif isUnsafeTable(value) then
|
||||||
error(
|
error(
|
||||||
`Cannot sync tables unsupported by remote events! The value has the key '{key}'.\n\n`
|
`Cannot sync tables unsupported by remote events! The value has the key '{key}'.\n\n`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue