mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Fix mount error trace
This commit is contained in:
parent
35176bc484
commit
6090e0fc87
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ local function root<T...>(fn: (destroy: () -> ()) -> T...): T...
|
||||||
|
|
||||||
if not result[1] then
|
if not result[1] then
|
||||||
refs[node] = nil
|
refs[node] = nil
|
||||||
throw(`mount error\n{result}`)
|
throw(`mount error\n{result[2]}`)
|
||||||
end
|
end
|
||||||
|
|
||||||
return unpack(result :: any, 2)
|
return unpack(result :: any, 2)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue