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/base/coroutine.lua | |
| parent | 9d22026291016915298cd4cf8b004bef4b6faaec (diff) | |
improve diagnosis info
Diffstat (limited to 'xmake/core/base/coroutine.lua')
| -rw-r--r-- | xmake/core/base/coroutine.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/coroutine.lua b/xmake/core/base/coroutine.lua index dca56423d..651294361 100644 --- a/xmake/core/base/coroutine.lua +++ b/xmake/core/base/coroutine.lua @@ -42,7 +42,7 @@ function coroutine.resume(co, ...) -- get errors local errors = results - if option.get("backtrace") then + if option.get("diagnosis") then errors = debug.traceback(co, results) elseif type(results) == "string" then -- remove the prefix info |
