Skip to content

Commit 970c119

Browse files
committed
remove crash on function in serialization
1 parent 67c9fb7 commit 970c119

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

textutils.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ local function serialize_impl(t, tracking, indent, opts)
104104
return tostring(t)
105105

106106
else
107-
error("Cannot serialize type " .. sType, 0)
107+
return "Cannot serialize type " .. sType
108108

109109
end
110110
end

0 commit comments

Comments
 (0)