zellij/zellij-server/src
har7an 48bc2281c7
Fix: better error reporting when failing to load plugins (#1912) (#1914)
* utils/input/plugins: Return `Result` when loading

a plugin and failing to find it. Since we look up the plugin in multiple
locations, make sure we preserve each of these lookup failures and
report them to the user. This way the user can see what locations were
actually checked.

In addition, before performing the lookup, deduplicate the array of
locations to check. This prevents errors where we look up the same
plugin multiple times in the exact same locations, which can leave a bad
impression on anyone reading it who isn't familiar with the code.

* server/wasm_vm: Remove obsolete context

which was previouly required because the function it is attached to
returned only an `Option` instead of a `Result`.
2022-11-09 07:28:02 +00:00
..
output errors: Don't unwrap in zellij_server::output (#1878) 2022-10-30 06:02:03 +00:00
panes errors: Remove log::error in server (#1881) 2022-11-08 10:56:23 +00:00
tab errors: Remove log::error in server (#1881) 2022-11-08 10:56:23 +00:00
ui feat(command-panes): allow to start suspended (#1887) 2022-11-01 09:07:25 +01:00
unit fix(edit): treat cwd properly (#1904) 2022-11-03 11:06:37 +01:00
lib.rs errors: Remove log::error in server (#1881) 2022-11-08 10:56:23 +00:00
logging_pipe.rs errors: Remove log::error in server (#1881) 2022-11-08 10:56:23 +00:00
os_input_output.rs errors: Remove log::error in server (#1881) 2022-11-08 10:56:23 +00:00
pty.rs errors: Remove log::error in server (#1881) 2022-11-08 10:56:23 +00:00
pty_writer.rs errors: Don't unwrap in server::pty_writer (#1872) 2022-10-28 14:43:06 +00:00
route.rs errors: Remove log::error in server (#1881) 2022-11-08 10:56:23 +00:00
screen.rs errors: Remove log::error in server (#1881) 2022-11-08 10:56:23 +00:00
terminal_bytes.rs errors: Don't unwrap in server::terminal_bytes (#1876) 2022-10-28 17:12:05 +00:00
thread_bus.rs zellij-server: improve thread_bus error handling (#1775) 2022-10-07 09:04:08 +00:00
wasm_vm.rs Fix: better error reporting when failing to load plugins (#1912) (#1914) 2022-11-09 07:28:02 +00:00