summaryrefslogtreecommitdiff
path: root/xmake/core/sandbox/modules/try.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-05-23 00:46:44 +0800
committerruki <[email protected]>2019-05-22 22:40:27 +0800
commit744ce235235533e695430daa1f96cbd35c69ac01 (patch)
tree8ed3e616bbc31655eb6d8a369c5eafcba187a528 /xmake/core/sandbox/modules/try.lua
parentb91f9e89bed5bf3db0f7a0e78b6c69666eab21eb (diff)
add ndk_stdcxx option for ndk
Diffstat (limited to 'xmake/core/sandbox/modules/try.lua')
-rw-r--r--xmake/core/sandbox/modules/try.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/try.lua b/xmake/core/sandbox/modules/try.lua
index 01c39f656..cf0098375 100644
--- a/xmake/core/sandbox/modules/try.lua
+++ b/xmake/core/sandbox/modules/try.lua
@@ -97,7 +97,7 @@ function sandbox_try.try(block)
local funcs = table.join(block[2] or {}, block[3] or {})
-- try to call it
- local ok, errors_or_r1, r2, r3, r4, r5, r6 = xpcall(try, sandbox_try._traceback)
+ local ok, errors_or_r1, r2, r3, r4, r5, r6 = utils.trycall(try, sandbox_try._traceback)
if not ok then
-- run the catch function