You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #2072 - jtgeibel:fix/remove-some-unwraps, r=carols10cents
Remove some usage of `unwrap()`
This commit reduces the usage of unwrap within the request/response
lifecycle, and documents a few remaining cases. Usage of unwrap in
tests, binaries, or server boot code is generally okay and was not
reviewed.
Remaining work:
* Some usage of unwrap in `git.rs` and `src/tasks/` background jobs.
This code is not directly in the request/response lifecycle, but
should be reviewed.
* Current usage in middleware seems okay, but could be documented.
In most cases, such as with the handler in `AroundMiddleware`, the
conduit API ensures a handler is set.
0 commit comments