Skip to content

Improve error handling, and fix clippy warnings

eta requested to merge eta/error-handling-clippy into main
  • The error handling in onion-tunnel was improved by moving away from panicking (helped by usage of the clippy unwrap_used and expect_used lints), in favour of using Results.
  • I've also gone through the codebase and fixed clippy warnings about the place, hopefully tidying things up a bit.
  • There's still more to do, but this is a start!
    • We actually need to do something about the errors, like communicating them to the JNI side, for one.

Merge request reports

Loading