plenary.nvim icon indicating copy to clipboard operation
plenary.nvim copied to clipboard

How to see full error messages (without elision)?

Open masaeedu opened this issue 3 years ago • 1 comments

Hello there. I'm not sure if this is the right place to post this, please feel free to close if not.

I'm trying to debug an error message I'm seeing with a plugin that uses plenary. The error message looks like this:

Error detected while processing BufWritePost Autocommands for "*":
Error executing lua callback: ...ck/packer/start/plenary.nvim/lua/plenary/async/async.lua:18: The coroutine failed with this message: ...te/pack/packer/start/neotest/lua/neotest/client/init.lua:358: neotest-haskell:/home/masaeedu/code/awake
/end-to-end/parse-graph/src/haskell/eaql/code
stack traceback:
        [C]: in function 'error'
        ...ck/packer/start/plenary.nvim/lua/plenary/async/async.lua:18: in function 'callback_or_next'
        ...ck/packer/start/plenary.nvim/lua/plenary/async/async.lua:45: in function 'step'
        ...ck/packer/start/plenary.nvim/lua/plenary/async/async.lua:48: in function 'execute'
        ...ck/packer/start/plenary.nvim/lua/plenary/async/async.lua:108: in function 'run'
        ...te/pack/packer/start/neotest/lua/neotest/client/init.lua:354: in function <...te/pack/packer/start/neotest/lua/neotest/client/init.lua:352>

I am wondering if all those ellipses (in the file paths, and also after The coroutine failed with this message: ...te/) are introduced by plenary itself, and whether this feature can somehow be turned off globally so that I can see the full output.

Thanks.

masaeedu avatar Dec 07 '22 20:12 masaeedu

+1 to this. It is really hard to debug errors without seeing full trace

mert-microsoft avatar Feb 22 '24 18:02 mert-microsoft