diff options
-rwxr-xr-x | tools/tb2err | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/tb2err b/tools/tb2err index 8399e630..09a55d5e 100755 --- a/tools/tb2err +++ b/tools/tb2err @@ -1,5 +1,7 @@ #!/usr/bin/env lua -- traceback to errors.err for vim -q +-- e.g. curl https://prosody.im/paste/xxx | tb2err > errors.err && vim -q + local path_sep = package.config:sub(1,1); for line in io.lines() do local src, err = line:match("%s*(%S+)(:%d+: .*)") |