diff options
| author | ruki <[email protected]> | 2018-11-04 22:20:13 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-11-04 22:20:13 +0800 |
| commit | d3d05b0c620dbfc318d4c693bc2fb7b556d51d3c (patch) | |
| tree | a91579ba8362498e531c01081d8fe80906da142d /xmake/core/sandbox/modules/try.lua | |
| parent | 9d22026291016915298cd4cf8b004bef4b6faaec (diff) | |
improve diagnosis info
Diffstat (limited to 'xmake/core/sandbox/modules/try.lua')
| -rw-r--r-- | xmake/core/sandbox/modules/try.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/try.lua b/xmake/core/sandbox/modules/try.lua index 4b8206bc9..b257e1af8 100644 --- a/xmake/core/sandbox/modules/try.lua +++ b/xmake/core/sandbox/modules/try.lua @@ -35,7 +35,7 @@ local sandbox_try = sandbox_try or {} function sandbox_try._traceback(errors) -- not verbose? - if not option.get("backtrace") then + if not option.get("diagnosis") then if errors then -- remove the prefix info local _, pos = errors:find(":%d+: ") |
