aboutsummaryrefslogtreecommitdiffstats
path: root/default-plugins
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 /default-plugins
parentmade the README more aesthetic (#1885) (diff)
downloadsl0ppij-48bc2281c74732559c74c2d678895cdfeec08126.tar.gz
sl0ppij-48bc2281c74732559c74c2d678895cdfeec08126.tar.xz
sl0ppij-48bc2281c74732559c74c2d678895cdfeec08126.zip
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 'default-plugins')
0 files changed, 0 insertions, 0 deletions