Skip to content

Commit 3e58a60

Browse files
authored
fix: trying to concat table to create error message in co-routines (#29)
1 parent a1c750e commit 3e58a60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/java-core/utils/async.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ local function async(func)
3838
return
3939
end
4040

41-
error('unhandled error ' .. thunk)
41+
error('unhandled error ' .. tostring(thunk))
4242
end
4343

4444
assert(ok, thunk)

0 commit comments

Comments
 (0)