summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorhar7an <99636919+har7an@users.noreply.github.com>2022-11-09 07:28:02 +0000
committerGitHub <noreply@github.com>2022-11-09 07:28:02 +0000
commit48bc2281c74732559c74c2d678895cdfeec08126 (patch)
tree43fdc72db94befb53c256cbbbd7e0d841f1ada10 /Cargo.toml
parent4ba52c80cd3d22048e46f61c4e768d97de56088d (diff)
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`.
Diffstat (limited to 'Cargo.toml')
0 files changed, 0 insertions, 0 deletions