Closed miversen33 closed 8 months ago
When attempting to open a remote location (directory or file it seems) that you do not have permission to open, the logs show the following (:Nmlogs)
:Nmlogs
[2023-03-01 10:54:28] [SID: cxiuxhfkhtccrlz] [Logger: provider] [Level: WARN] -- ...share/nvim/lazy/netman.nvim/lua/netman/providers/ssh.lua:callback:1181 Unable to download $FILE { error = "scp: /$FILE: Permission denied", exit_code = 1 } [2023-03-01 10:54:28] [SID: cxiuxhfkhtccrlz] [Logger: consumer] [Level: WARN] -- ...re/nvim/lazy/netman.nvim/lua/netman/ui/neo-tree/init.lua:generate_node_children:904 Received error while trying to run read of uri: ssh://$FILE {}
This is useful, however the error presented to the user, not so much
Unable to read ssh://$SERVERNAME///$FILE, received error nil
We need to do better at how we display errors to the user, this error means literally nothing
Resolved
When attempting to open a remote location (directory or file it seems) that you do not have permission to open, the logs show the following (
:Nmlogs
)This is useful, however the error presented to the user, not so much
We need to do better at how we display errors to the user, this error means literally nothing