style: use ? operator instead of unwrap in websockets
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
This commit is contained in:
parent
6640d03b70
commit
5d26f94cdd
2 changed files with 19 additions and 15 deletions
|
@ -52,6 +52,8 @@ pub enum Error {
|
|||
UrlParseError(#[from] url::ParseError),
|
||||
#[error(transparent)]
|
||||
PayloadError(#[from] PayloadError),
|
||||
#[error(transparent)]
|
||||
WsClosed(#[from] actix_ws::Closed),
|
||||
#[error("{0}")]
|
||||
PasswordHashError(String),
|
||||
#[error("{0}")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue