diff options
| author | ruki <[email protected]> | 2020-04-30 22:49:54 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-04-30 10:59:28 +0800 |
| commit | bcf967b2abd338f9bcd3de403d5ebbaabf963d94 (patch) | |
| tree | ae6d42e93489dccf50e865db541b540c0ce71455 /xmake/modules | |
| parent | 7ddd265b1a3f420103dccdc0075c7a0e0679ccbb (diff) | |
improve errors msg
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/private/tools/vstool.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/private/tools/vstool.lua b/xmake/modules/private/tools/vstool.lua index 7b124c5e7..e632ed00f 100644 --- a/xmake/modules/private/tools/vstool.lua +++ b/xmake/modules/private/tools/vstool.lua @@ -63,7 +63,7 @@ function runv(program, argv, opt) if ok ~= nil then errors = string.format("vstool.runv(%s) failed(%d)", cmd, ok) else - errors = string.format("vstool.runv(%s), error: %s", cmd, syserrors and syserrors or "unknown") + errors = string.format("vstool.runv(%s), %s", cmd, syserrors and syserrors or "unknown reason") end end @@ -129,7 +129,7 @@ function iorunv(program, argv, opt) if ok ~= nil then errors = string.format("vstool.iorunv(%s) failed(%d)", cmd, ok) else - errors = string.format("vstool.iorunv(%s), error: %s", cmd, syserrors and syserrors or "unknown") + errors = string.format("vstool.iorunv(%s), %s", cmd, syserrors and syserrors or "unknown reason") end end |
