diff options
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 |
