summaryrefslogtreecommitdiff
path: root/xmake/core/sandbox/modules/utils.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/sandbox/modules/utils.lua')
-rw-r--r--xmake/core/sandbox/modules/utils.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/utils.lua b/xmake/core/sandbox/modules/utils.lua
index 80a21aef8..f72da0423 100644
--- a/xmake/core/sandbox/modules/utils.lua
+++ b/xmake/core/sandbox/modules/utils.lua
@@ -76,7 +76,8 @@ function sandbox_utils.print(format, ...)
end,
catch
{
- function ()
+ function (errors)
+ print(errors)
-- print multi-variables with raw lua action
sandbox_utils._print(format, unpack(args))
end